mirror of
https://github.com/Mibew/handlebars.php.git
synced 2024-11-15 08:44:12 +03:00
no longer Handlerbars_ prefix is being used
This commit is contained in:
parent
79f25a884d
commit
926b4fdc4d
@ -348,7 +348,7 @@ class Template
|
||||
*/
|
||||
private function _variables($context, $current, $escaped)
|
||||
{
|
||||
$name = $current[Handlebars_Tokenizer::NAME];
|
||||
$name = $current[Tokenizer::NAME];
|
||||
$value = $context->get($name);
|
||||
if ( $name == '@index' ) {
|
||||
return $context->lastIndex();
|
||||
|
Loading…
Reference in New Issue
Block a user