Skip to content

Commit 38b1d25

Browse files
committed
Bug fix allowing empty array check on updates
1 parent 43ef5bc commit 38b1d25

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
@@ -1421,7 +1421,7 @@ private function _checkValues($values)
14211421
private function _isAssociative(array $arr)
14221422
{
14231423
if ([] === $arr) {
1424-
return false;
1424+
return true;
14251425
}
14261426

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

0 commit comments

Comments
 (0)