In wfBacktrcae(): print "->" or "::" whether the function was called dynamically...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 17 Jun 2011 17:13:43 +0000 (17:13 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 17 Jun 2011 17:13:43 +0000 (17:13 +0000)
includes/GlobalFunctions.php

index 4bd5809..f1b6ce9 100644 (file)
@@ -1416,7 +1416,7 @@ function wfBacktrace() {
                        $msg .= '<li>' . $file . ' line ' . $line . ' calls ';
                }
                if( !empty( $call['class'] ) ) {
-                       $msg .= $call['class'] . '::';
+                       $msg .= $call['class'] . $call['type'];
                }
                $msg .= $call['function'] . '()';