mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
fix exception in boetemplate::get_array()
This commit is contained in:
parent
7ec767248f
commit
4a0090d4e3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user