From 8323fafd3004c6213de0568b478bd4b64272d531 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 4 Jan 2021 10:29:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8F=AA=E8=AF=BB=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Common/Common/function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Common/Common/function.php b/Application/Common/Common/function.php index 0ce28e1f6..99f47e653 100644 --- a/Application/Common/Common/function.php +++ b/Application/Common/Common/function.php @@ -699,7 +699,7 @@ function action_log($action = null, $model = null, $record_id = null, $user_id = SM('ActionLog',"sys_")->add($data); - if (!empty($action_info['rule'])) { + if (!empty($action_info['rule']) && !IS_SUBSITE) { //解析行为 $rules = parse_action($action, $user_id);