Skip to content

Commit a7fecb6

Browse files
author
Steven Surowiec
committed
Updated default check for types counter
1 parent 7834cdf commit a7fecb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function gatherMemoryData() {
134134
*/
135135
public function gatherQueryData() {
136136
$queries = array();
137-
$type_default = array('total' => 0, 'time' => 0);
137+
$type_default = array('total' => 0, 'time' => 0, 'percentage' => 0, 'time_percentage' => 0);
138138
$types = array('select' => $type_default, 'update' => $type_default, 'insert' => $type_default, 'delete' => $type_default);
139139
$queryTotals = array('all' => 0, 'count' => 0, 'time' => 0, 'duplicates' => 0, 'types' => $types);
140140

0 commit comments

Comments
 (0)