Skip to content

Commit 992fe72

Browse files
author
David Nahodyl
committed
style improvement appending array
1 parent 638f3bf commit 992fe72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Query/FMBaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function where($column, $operator = null, $value = null, $boolean = 'and'
167167

168168
$currentFind[$this->getMappedFieldName($column)] = $operator . $value;
169169

170-
$this->wheres[$count > 1 ? $count - 1 : 0] = $currentFind;
170+
$this->wheres[] = $currentFind;
171171

172172
return $this;
173173
}

0 commit comments

Comments
 (0)