From a3e31ac14abb2ff6a8e940532d234e42a9cb4139 Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Sun, 8 Sep 2024 22:44:18 -0300 Subject: [PATCH] Update --- objects/Object.php | 1 + 1 file changed, 1 insertion(+) diff --git a/objects/Object.php b/objects/Object.php index 2fe9a61e..dbd60019 100644 --- a/objects/Object.php +++ b/objects/Object.php @@ -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}' "; } }