mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
php5.2 fix: Catchable fatal error: Object of class etemplate could not be converted to string
This commit is contained in:
parent
a747ced726
commit
76ac8d4381
@ -627,6 +627,8 @@
|
||||
{
|
||||
die('set_array() $arr is no array<br>'.function_backtrace());
|
||||
}
|
||||
if (is_object($idx)) return false; // given an error in php5.2
|
||||
|
||||
$idxs = explode('[',str_replace(']','',$idx));
|
||||
$pos = &$arr;
|
||||
foreach($idxs as $idx)
|
||||
|
Loading…
Reference in New Issue
Block a user