From 91cc3c061390d1ad6c880d85f6cd87129d60d67d Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 18 Sep 2022 03:34:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mysql/Columns.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mysql/Columns.php b/Mysql/Columns.php index d600fd4..bdf2e78 100644 --- a/Mysql/Columns.php +++ b/Mysql/Columns.php @@ -123,7 +123,7 @@ class Columns extends Component } else if ($this->isFloat($format)) { return (float)$val; } else { - return stripslashes($val); + return stripslashes((string)$val); } }