In wfBacktrcae(): print "->" or "::" whether the function was called dynamically...
[lhc/web/wiklou.git] / 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'] . '()';