Section index property
| From: | max | Date: | Fri, 09 Nov 2001 23:45:37 +0000 |
| Subject: | Section index property | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1900@lists.php.net to get a copy of this message | ||
I am using smarty v1.4.0 and this is the first time I ran into problem with it:
inside {section} tag code
{$prices[priceindex].SectorCode}
compiles to
$this->_tpl_vars['prices'][$_smarty_sections['priceindex']['properties']['index']]['SectorCode']
however {$prices[priceindex.index_prev].SectorCode} compiles to
$this->_tpl_vars['prices']['index_prev']['SectorCode']
missing the $_smarty_sections['priceindex']['properties'] part.
Can anyone give me a hint where the problem might be?
Thank you.