fix warnings
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 14 Aug 2005 13:22:50 +0000 (13:22 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 14 Aug 2005 13:22:50 +0000 (13:22 +0000)
includes/Profiling.php

index 770f39f..1fb1ae0 100755 (executable)
@@ -80,12 +80,12 @@ class Profiler {
                                if ($functionname == 'close') {
                                        $message = "Profile section ended by close(): {$bit[0]}\n";
                                        wfDebug( $message );
-                                       $this->mStack[] = array( $message, 0, 0, 0 );
+                                       $this->mStack[] = array( $message, 0, '0 0', 0, '0 0', 0 );
                                }
                                elseif ($bit[0] != $functionname) {
                                        $message = "Profiling error: in({$bit[0]}), out($functionname)\n";
                                        wfDebug( $message );
-                                       $this->mStack[] = array( $message, 0, 0, 0 );
+                                       $this->mStack[] = array( $message, 0, '0 0', 0, '0 0', 0 );
                                }
                        //}
                        $bit[] = $time;