Skip to content

Commit

Permalink
atualizacao
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobmorais committed Feb 19, 2023
1 parent e143476 commit b563754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Crud.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function updateArray(array $params, string $where): bool
$values = [];

foreach ($params as $index => $column) {
if (!empty($params[$index])) {
if (($params[$index] != null)) {
$query .= " {$index} = ?, ";
$values[] = $params[$index];
}
Expand Down

0 comments on commit b563754

Please sign in to comment.