no longer Handlerbars_ prefix is being used

This commit is contained in:
behrooz shabani (everplays) 2013-11-05 15:36:34 +03:30
parent 79f25a884d
commit 926b4fdc4d

View File

@ -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();