From d3ddc6138642b0255fc18adfe2de1c8209b186fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?HID=E4=B8=A8emotion?= Date: Tue, 23 Nov 2021 07:03:47 +0000 Subject: [PATCH] =?UTF-8?q?bugfix=20=E4=BF=AE=E5=A4=8D=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=90=8E=E6=9C=AA=E4=BD=BF=E7=94=A8=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E4=BC=A0=E5=8F=82=E6=97=A0=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/Backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/controller/Backend.php b/application/common/controller/Backend.php index b680b5a6b..98a603a3a 100644 --- a/application/common/controller/Backend.php +++ b/application/common/controller/Backend.php @@ -280,7 +280,7 @@ class Backend extends Controller $bind = []; $name = ''; $aliasName = ''; - if (!empty($this->model) && $this->relationSearch) { + if (!empty($this->model) && $relationSearch) { $name = $this->model->getTable(); $alias[$name] = Loader::parseName(basename(str_replace('\\', '/', get_class($this->model)))); $aliasName = $alias[$name] . '.'; -- Gitee