avoid warning in php5.3, if argument is an array

This commit is contained in:
Ralf Becker 2009-11-30 16:01:55 +00:00
parent 6eb975f0da
commit 34fd086dd0

View File

@ -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))