Skip to content

Commit 6384fa2

Browse files
committed
Merge branch 'patch-1' into develop
2 parents 761069c + 2bbfd3a commit 6384fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collectors/db_queries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public function process_db_object() {
236236
'is_main_query' => true,
237237
) );
238238

239-
$this->data->total_qs = count( $this->data->rows );
239+
$this->data->total_qs = count( (array) $this->data->rows );
240240
$this->data->total_time = $total_time;
241241
$this->data->has_result = $has_result;
242242
$this->data->has_trace = $has_trace;

0 commit comments

Comments
 (0)