forked from extern/egroupware
fixing PHP fatal error: "Object of class etemplate could not be converted to string", caused by last commit
This commit is contained in:
parent
e4e3627cdc
commit
04a066154e
@ -1059,7 +1059,7 @@ class etemplate_old extends boetemplate
|
|||||||
}
|
}
|
||||||
$form_name = self::form_name($cname,$name);
|
$form_name = self::form_name($cname,$name);
|
||||||
|
|
||||||
if ((string)$name !== '')
|
if (!is_object($name) && (string)$name !== '')
|
||||||
{
|
{
|
||||||
$value = $this->get_array($content,$name);
|
$value = $this->get_array($content,$name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user