Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Commit 672f754

Browse files
committed
Fix an array access attempt of a null value.
1 parent 5aefed4 commit 672f754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drivers/DriverTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ private function getEntitesRowLike(
667667
$dataNameAndSValue = $getDataNameAndSValueCallback($row);
668668
$sdata[$dataNameAndSValue['name']] = $dataNameAndSValue['svalue'];
669669
$row = $rowFetchCallback($result);
670-
} while ($getGUIDCallback($row) === $guid);
670+
} while ($row && $getGUIDCallback($row) === $guid);
671671
} else {
672672
// Make sure that $row is incremented :)
673673
$row = $rowFetchCallback($result);

0 commit comments

Comments
 (0)