Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: Avoid call if function not defined

  • Loading branch information...
commit 53a78838f8c7082bcae36fffa57714d39be9d66e 1 parent a748466
@eldy eldy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  htdocs/core/lib/functions.lib.php
View
2  htdocs/core/lib/functions.lib.php
@@ -2163,7 +2163,7 @@ function dol_print_error($db='',$error='')
$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();
$out.='<b>XDebug informations:</b>'."<br>\n";
Please sign in to comment.
Something went wrong with that request. Please try again.