Jeff-Lewis / smarty-php

Automatically exported from code.google.com/p/smarty-php
0 stars 0 forks source link

Undefined property: Smarty_Variable::$iteration #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Inheritance chain of three templates.
2. A block above a loop.
3. An @iteration inside the loop.

What is the expected output? What do you see instead?
Would expect to see @iteration is defined.

What version of the product are you using? On what operating system?
3.1.17 (it worked in 3.1.12 (did not test any other versions)). PHP 5.5.3 on 
Ubuntu.

Please provide any additional information below.
Fetching the template "child.tpl" from the attached example files makes it 
work, or removing the block "lalala" makes it work, basically every other setup 
works fine :)

Original issue reported on code.google.com by torben.f...@googlemail.com on 24 Mar 2014 at 1:05

Attachments:

GoogleCodeExporter commented 9 years ago
Thank's for your input.
This bug is now fixed in the SVN trunk.
The fix will later be included in 3.1.18

Original comment by Uwe.Tews@googlemail.com on 24 Mar 2014 at 6:53