From 77419f2d10818721597bdc8a7737b779275b46d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 5 Oct 2023 15:47:39 +0800 Subject: [PATCH] eee --- BackupCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BackupCommand.php b/BackupCommand.php index e5669f5..da0c3fb 100644 --- a/BackupCommand.php +++ b/BackupCommand.php @@ -213,7 +213,7 @@ class BackupCommand extends Command $encode = []; foreach ($keys as $val) { if (is_string($val)) { - $encode[] = '\'' . addcslashes($val, '\'') . '\''; + $encode[] = '\'' . addcslashes($val, "\\'") . '\''; } else { $encode[] = $val === '' ? '\'\'' : $val; }