From 55acb2795f5370e7a18131bbe0511d43566037d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 27 Apr 2021 18:55:08 +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 --- Database/ActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index ef8d3287..18c55f35 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -309,7 +309,7 @@ class ActiveRecord extends BaseActiveRecord $lists = $this->getAnnotation(self::GET); foreach ($lists as $key => $item) { - $data[$key] = call_user_func([$this,$item],$data[$key] ?? null); + $data[$key] = $this->{$item}($data[$key] ?? null); } $data = array_merge($data, $this->runRelate());