Index: trunk/phase3/includes/profiler/Profiler.php |
— | — | @@ -356,7 +356,7 @@ |
357 | 357 | $prof = "\nProfiling data\n"; |
358 | 358 | $prof .= sprintf( $titleFormat, 'Name', 'Calls', 'Total', 'Each', '%', 'Mem' ); |
359 | 359 | |
360 | | - $total = @$this->mCollated['-total']; |
| 360 | + $total = isset( $this->mCollated['-total'] ) ? $this->mCollated['-total'] : 0; |
361 | 361 | |
362 | 362 | foreach( $this->mCollated as $fname => $elapsed ){ |
363 | 363 | $calls = $this->mCalls[$fname]; |