Fix: Avoid call if function not defined
This commit is contained in:
parent
a748466758
commit
53a78838f8
@ -2163,7 +2163,7 @@ function dol_print_error($db='',$error='')
|
|||||||
$syslog.=", msg=".$msg;
|
$syslog.=", msg=".$msg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (empty($dolibarr_main_prod) && $_SERVER['DOCUMENT_ROOT'] && function_exists('xdebug_call_file'))
|
if (empty($dolibarr_main_prod) && $_SERVER['DOCUMENT_ROOT'] && function_exists('xdebug_print_function_stack') && function_exists('xdebug_call_file'))
|
||||||
{
|
{
|
||||||
xdebug_print_function_stack();
|
xdebug_print_function_stack();
|
||||||
$out.='<b>XDebug informations:</b>'."<br>\n";
|
$out.='<b>XDebug informations:</b>'."<br>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user