* [misc] fix code error.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user