Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix stack trace
  • Loading branch information
cdujeu committed Jan 17, 2014
1 parent 3709cd4 commit 0651239
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/core/classes/class.AJXP_XMLWriter.php
Expand Up @@ -215,7 +215,12 @@ public static function catchError($code, $message, $fichier, $ligne, $context)
$func = $entry['function'] . '(';
$argsLen = count($entry['args']);
for ($j = 0; $j < $argsLen; $j++) {
$func .= $entry['args'][$j];
$s = $entry['args'][$j];
if(is_string($s)){
$func .= $s;
}else if (is_object($s)){
$func .= get_class($s);
}
if ($j < $argsLen - 1) $func .= ', ';
}
$func .= ')';
Expand Down

0 comments on commit 0651239

Please sign in to comment.