X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Ferrors.inc;fp=includes%2Ferrors.inc;h=53587df6ed081b1489e162d77898d474e48f3ed6;hb=ae07ee0e4b86f85cea49dc14f45fd3fd04150026;hp=a4618e8d84821bfd0e8ef1211a2aea342284f319;hpb=ecd09ff1b16c7f5235a2cb1a2d2f33806c665a31;p=fa-stable.git diff --git a/includes/errors.inc b/includes/errors.inc index a4618e8d..53587df6 100644 --- a/includes/errors.inc +++ b/includes/errors.inc @@ -21,7 +21,8 @@ function get_backtrace($html = false, $skip=0) foreach($trace as $trn => $tr) { if ($trn <= $skip) continue; if ($html) $str .= ''; - $str .= $tr['file'].':'.$tr['line'].': '; + if (isset($tr['file']) && isset($tr['line'])) + $str .= $tr['file'].':'.$tr['line'].': '; if ($html) $str .= ''; if (isset($tr['type'])) { if($tr['type'] == '::') {