From 20f71031aebc484a20acd537bb63392df9f1c135 Mon Sep 17 00:00:00 2001 From: Tutik Alexsandr Date: Fri, 17 Sep 2021 21:14:40 +0300 Subject: [PATCH] fix(schema) Extra quote mark have been removed issue #56 --- Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Schema.php b/Schema.php index 10b0322..9cf17ce 100644 --- a/Schema.php +++ b/Schema.php @@ -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") . "'"; } /**