forked from extern/egroupware
avoid warning in php5.3, if argument is an array
This commit is contained in:
parent
6eb975f0da
commit
34fd086dd0
@ -1240,7 +1240,7 @@ function function_backtrace($remove=0)
|
||||
{
|
||||
$ret[] = (isset($level['class'])?$level['class'].'::':'').$level['function'].
|
||||
(!$level['class'] && !is_object($level['args'][0]) && $level['function'] != 'unserialize' ?
|
||||
'('.substr(str_replace(EGW_SERVER_ROOT,'',$level['args'][0]),0,64).')' : '');
|
||||
'('.substr(str_replace(EGW_SERVER_ROOT,'',(string)$level['args'][0]),0,64).')' : '');
|
||||
}
|
||||
}
|
||||
if (is_array($ret))
|
||||
|
Loading…
Reference in New Issue
Block a user