Skip to content

Commit

Permalink
fix(schema) Extra quote mark have been removed
Browse files Browse the repository at this point in the history
issue #56
  • Loading branch information
sanchezzzhak authored Sep 17, 2021
1 parent fb5d650 commit 20f7103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function quoteValue($str)
if (!is_string($str)) {
return $str;
}
return "'" . addcslashes(str_replace("'", "''", $str), "\000\n\r\\\032\047") . "'";
return "'" . addcslashes($str, "\000\n\r\\\032\047") . "'";
}

/**
Expand Down

0 comments on commit 20f7103

Please sign in to comment.