From: Alexandre Emsenhuber Date: Fri, 17 Jun 2011 17:13:43 +0000 (+0000) Subject: In wfBacktrcae(): print "->" or "::" whether the function was called dynamically... X-Git-Tag: 1.31.0-rc.0~29460 X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=commitdiff_plain;h=54a246f1e0141187564b63f84f5d40633228dc63;p=lhc%2Fweb%2Fwiklou.git In wfBacktrcae(): print "->" or "::" whether the function was called dynamically or statically instead of always "::" --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 4bd58090aa..f1b6ce90c0 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1416,7 +1416,7 @@ function wfBacktrace() { $msg .= '
  • ' . $file . ' line ' . $line . ' calls '; } if( !empty( $call['class'] ) ) { - $msg .= $call['class'] . '::'; + $msg .= $call['class'] . $call['type']; } $msg .= $call['function'] . '()';