Skip to content

Commit

Permalink
Update Sql Data class
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksagona committed Nov 27, 2024
1 parent 50cce27 commit 43f66b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sql/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function serialize(array $data, mixed $omit = null, bool $nullEmpty = fal

// Force UPDATE SQL
if (($this->forceUpdate) && !empty($this->conflictKey)) {
foreach ($data as $i => $row) {
foreach ($data as $row) {
$primaryValue = $row[$this->conflictKey];
unset($row[$this->conflictKey]);

Expand Down

0 comments on commit 43f66b2

Please sign in to comment.