From 6dbbfb4ebd16d6a227c4d4eca819af2fd2212854 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Tue, 10 Jul 2012 14:26:47 +0200 Subject: [PATCH] Add correct null handling to templater --- class.templater.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/class.templater.php b/class.templater.php index 2bf9010..8080119 100644 --- a/class.templater.php +++ b/class.templater.php @@ -680,6 +680,10 @@ class TemplateIfElement extends TemplateSyntaxElement { $b = false; } + elseif($b == "null") + { + $b = null; + } switch($this->operator) {