* [task#127982,1h,0h] Determine whether there is a flow.
This commit is contained in:
@@ -61,6 +61,8 @@ class datatableModel extends model
|
||||
if($this->config->edition != 'open')
|
||||
{
|
||||
$flow = $this->loadModel('workflow')->getByModule($module);
|
||||
if(empty($flow)) return $fieldList;
|
||||
|
||||
if($flow->buildin == 1)
|
||||
{
|
||||
$fields = $this->loadModel('workflowfield')->getList($module);
|
||||
|
||||
Reference in New Issue
Block a user