mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix #152
This commit is contained in:
parent
8f3c94a7a1
commit
3db7d0b220
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user