From 007c40a0ebb904036959e158d4584299b984f742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 6 Feb 2023 13:54:53 +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 --- Base/Model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Base/Model.php b/Base/Model.php index 13ac9f5..1d606b6 100644 --- a/Base/Model.php +++ b/Base/Model.php @@ -844,6 +844,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T } $method = 'get' . ucfirst($name) . 'Attribute'; if (!method_exists($this, $method)) { + return $value; return $this->_decode($name, $value); } return $this->{$method}($value);