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);