From 2fa8ba8d57bc53e50cbde8aaf3532b4f6532cc2f Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 21 Nov 2024 09:04:51 +0000 Subject: [PATCH] * [misc] fix code error. --- module/story/tao.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/story/tao.php b/module/story/tao.php index e3c4b96756..c285af13ea 100644 --- a/module/story/tao.php +++ b/module/story/tao.php @@ -1911,6 +1911,8 @@ class storyTao extends storyModel */ protected function checkConditions(string $method, object $story) { + if($this->config->edition == 'open') return true; + static $flowActions = []; if(empty($flowActions)) $flowActions = $this->loadModel('workflowaction')->getList($story->type); $this->loadModel('flow');