From a2d8fc02071f4a8cdb7935498e8e4c47811f2474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 14 Dec 2020 10:14:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gii/GiiModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gii/GiiModel.php b/Gii/GiiModel.php index 50c1fe42..7e9a4364 100644 --- a/Gii/GiiModel.php +++ b/Gii/GiiModel.php @@ -219,7 +219,7 @@ class ' . $managerName . ' extends ActiveRecord */ public function get' . ucfirst($field['Field']) . 'Attribute($value) { - $value = stripcslashes($value) + $value = stripcslashes($value); if ( is_string($value) ) { return JSON::decode($value, true); }