This commit is contained in:
bzick 2015-02-19 17:11:44 +03:00
parent 8f3c94a7a1
commit 3db7d0b220

View File

@ -670,6 +670,7 @@ class Template extends Render
if($cond) { if($cond) {
$term = array_pop($exp) . ' ' . $term; $term = array_pop($exp) . ' ' . $term;
$term = '('. array_pop($exp) . ' ' . $term . ')'; $term = '('. array_pop($exp) . ' ' . $term . ')';
$var = false;
} }
$term = $this->parseTernary($tokens, $term, $var); $term = $this->parseTernary($tokens, $term, $var);
$var = false; $var = false;