diff options
Diffstat (limited to 'include/template_processor.php')
-rw-r--r-- | include/template_processor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template_processor.php b/include/template_processor.php index 0f52d12a4..89f03dfe0 100644 --- a/include/template_processor.php +++ b/include/template_processor.php @@ -71,7 +71,7 @@ $val = $this->_get_var($args[2]); } $x = preg_split("|{{ *else *}}|", $args[3]); - return ( $val ? $x[0] : (isset($x[1]) ? $x[1] : "")); + return ( ($val) ? $x[0] : (isset($x[1]) ? $x[1] : "")); } /** |