* [misc] fix code error.

This commit is contained in:
sunguangming
2024-11-22 08:48:04 +08:00
committed by 王怡栋
parent 8332953b83
commit 2fa8ba8d57
+2
View File
@@ -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');