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 3d8efa8 commit 0fd8268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/Object.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function save() {
$fields[] = " {$id} ";
}
}else{
$this->$value = str_replace("'", '', $this->$value);
$this->$value = str_replace(array("'", '\\'), array('', ''), $this->$value);
$fields[] = " '{$this->$value}' ";
}
}
Expand Down

0 comments on commit 0fd8268

Please sign in to comment.