Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Sep 9, 2024
1 parent 25ae2cf commit a3e31ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objects/Object.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public function save() {
} elseif (strtolower($value) == 'modified') {
$fields[] = " {$value} = now() ";
} else {
$this->$value = str_replace("'", '', $this->$value);
$fields[] = " `{$value}` = '{$this->$value}' ";
}
}
Expand Down

0 comments on commit a3e31ac

Please sign in to comment.