Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latte: user-defined variables were not passed into macro include #479

Closed

Conversation

fprochazka
Copy link
Contributor

Was this intentional for some reason?

@matak
Copy link

matak commented Jan 20, 2012

i am so sad, all projects i upgrade to nette 2 have same problem :( it is really very uncomfortable and what is the reason of that?

that means i have to rewrite all templates where i use it and add all variables to included block? mostly i dont know which variables will be used

@dg
Copy link
Member

dg commented Jan 20, 2012

Documentation is correct. Local variables are not passed to include.

@dg dg closed this in 02c9da8 Jan 21, 2012
bojovyletoun pushed a commit to bojovyletoun/nette that referenced this pull request Jan 25, 2012
dg added a commit to nette/latte that referenced this pull request Mar 18, 2014
dg added a commit to nette/latte that referenced this pull request Mar 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants