Skip to content

Commit

Permalink
Merge pull request #44 from mambax7/feature/assignment_in_condition
Browse files Browse the repository at this point in the history
assignment in condition
  • Loading branch information
geekwright authored Mar 19, 2018
2 parents 6b553ba + a8e8af8 commit b81c794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/TableLoad.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public static function extractRows($table, $criteria = null, $skipColumns = arra
$rows = array();
$result = $db->query($sql);
if ($result) {
while ($row = $db->fetchArray($result)) {
while (false !== ($row = $db->fetchArray($result))) {
$rows[] = $row;
}
}
Expand Down

0 comments on commit b81c794

Please sign in to comment.