Fix notice
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 23 Mar 2004 12:06:10 +0000 (12:06 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 23 Mar 2004 12:06:10 +0000 (12:06 +0000)
includes/Profiling.php

index 2a108a8..392ca38 100755 (executable)
@@ -118,7 +118,7 @@ class Profiler
                        $this->mCalls[$fname] ++;
                }
 
-               $total = $this->mCollated["-total"];
+               $total = @$this->mCollated["-total"];
                $overhead = $this->mCollated["-overhead-internal"] / $profileCount;
                $this->mCalls["-overhead-total"] = $profileCount;