From ad73fe03b3d52158efa99979427f6de5d77a6679 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 21 Dec 2020 18:17:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8A=E6=B8=B8=E7=BB=93?= =?UTF-8?q?=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Common/function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Common/function.php b/Application/Admin/Common/function.php index 48d585020..4d32052fe 100644 --- a/Application/Admin/Common/function.php +++ b/Application/Admin/Common/function.php @@ -1069,7 +1069,7 @@ function SM($name='', $tablePrefix='tab_') //判断是否有子站点表格 function is_subsiteTable($tableName) { - if(in_array($tableName,C('SUBSITE_TABLE')) && IS_SUBSITE){ + if(IS_SUBSITE && in_array($tableName,C('SUBSITE_TABLE'))){ return true; } return false;