fix parseExp parsing arrays

This commit is contained in:
klkvsk 2013-07-30 15:05:03 +04:00
parent b0ecde05f7
commit 95a41ac169

View File

@ -670,8 +670,9 @@ class Template extends Render {
}
$_exp[] = " ".$tokens->getAndNext()." ";
$term = 0;
} elseif($tokens->is('[')) {
} elseif(!$term && $tokens->is('[')) {
$_exp[] = $this->parseArray($tokens);
$term = 1;
} else {
break;
}