Skip to content

Commit 24b8f1e

Browse files
authored
Update QueryResult.php
1 parent ae177c2 commit 24b8f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ protected function fillRows($rows)
172172
foreach ($row['items'] as $i => $item)
173173
{
174174
$values = array_values($item);
175-
$value = $values[0];
175+
$value = count($values)>0?$values[0]:[];;
176176
$column = $this->columns[$i];
177177
if ($value === null)
178178
{

0 commit comments

Comments
 (0)