Index: trunk/phase3/includes/profiler/ProfilerSimpleText.php |
— | — | @@ -28,7 +28,9 @@ |
29 | 29 | public function logData() { |
30 | 30 | if ( $this->mTemplated ) { |
31 | 31 | $this->close(); |
32 | | - $totalReal = $this->mCollated['-total']['real']; |
| 32 | + $totalReal = isset( $this->mCollated['-total'] ) |
| 33 | + ? $this->mCollated['-total']['real'] |
| 34 | + : 0; // profiling mismatch error? |
33 | 35 | uasort( $this->mCollated, array('self','sort') ); |
34 | 36 | array_walk( $this->mCollated, array('self','format'), $totalReal ); |
35 | 37 | if ( $this->visible ) { |