fix exception in boetemplate::get_array()

This commit is contained in:
Ralf Becker 2013-11-29 00:15:29 +00:00
parent 7ec767248f
commit 4a0090d4e3

View File

@ -1081,7 +1081,7 @@ class etemplate extends boetemplate
list($name) = explode('=',$name);
}
$form_name = self::form_name($cname,$name);
if (!is_object($name) && (string)$name !== '')
if (!is_object($name) && (string)$name !== '' && is_array($content))
{
$value = $this->get_array($content,$name);
}