mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix exception in boetemplate::get_array()
This commit is contained in:
parent
4f3f88ae92
commit
4866478242
@ -1073,7 +1073,7 @@ class etemplate_old extends boetemplate
|
|||||||
}
|
}
|
||||||
$form_name = self::form_name($cname,$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);
|
$value = $this->get_array($content,$name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user