Resolve another notice

develop
Sven Slootweg 11 years ago
parent dbe5662a85
commit 539f54eac1

@ -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))
{

Loading…
Cancel
Save