1
0

only show xdebug if installed

This commit is contained in:
Mike Schwörer 2018-12-22 23:45:39 +01:00
parent b591dfa0f6
commit f07f34a101

View File

@ -202,7 +202,8 @@ try {
}
else
{
echo '<table class="xdebug-error xe-uncaught-exception" dir="ltr" border="1" cellspacing="0" cellpadding="1">'.$e->xdebug_message.'</table>';
if (isset($e->xdebug_message)) echo '<table class="xdebug-error xe-uncaught-exception" dir="ltr" border="1" cellspacing="0" cellpadding="1">'.$e->xdebug_message.'</table>';
else echo nl2br($e);
}
}