Skip to content

Commit cccd236

Browse files
committed
Bug fix allowing empty array check on updates
1 parent 8eb55d0 commit cccd236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ private function _checkValues($values)
14221422
private function _isAssociative(array $arr)
14231423
{
14241424
if ([] === $arr) {
1425-
return false;
1425+
return true;
14261426
}
14271427

14281428
return array_keys($arr) !== range(0, count($arr) - 1);

0 commit comments

Comments
 (0)