We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72457ed commit a921329Copy full SHA for a921329
1 file changed
src/UpsertQuery.php
@@ -20,7 +20,7 @@ public function __construct($table = null, $values = null, array $keys = [], ?ar
20
if (isset($table)) {
21
$this->setTable($table);
22
}
23
- if (isset($values)) {
+ if (!empty($values)) {
24
$cols = isset($columns) ? array_merge($keys, $columns) : $columns;
25
$this->setValues($values, $cols);
26
0 commit comments