From 539f54eac15948ae92ed58daaa9bf25fffaed92c Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sat, 18 May 2013 18:21:20 +0200 Subject: [PATCH] Resolve another notice --- class.templater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class.templater.php b/class.templater.php index a0ca50b..61f38a1 100644 --- a/class.templater.php +++ b/class.templater.php @@ -636,7 +636,7 @@ class TemplateElement /* Traverse up the tree to find a provider for the specified variable. */ while(true) { - if($target->context == $variable_name) + if(isset($target->context) && $target->context == $variable_name) { if(!is_array($target->context_item)) {