Bugfix for incorrect handling of boolean values in FetchVariable function

develop
Sven Slootweg 12 years ago
parent d990ffaed4
commit 44196de152

@ -627,6 +627,15 @@ class TemplateIfElement extends TemplateSyntaxElement
$a = $this->FetchVariable($this->left, $data);
$b = $this->right;
if($b == "true")
{
$b = true;
}
elseif($b == "false")
{
$b = false;
}
switch($this->operator)
{
case "=":

Loading…
Cancel
Save