* adjust for check flow require field.
This commit is contained in:
@@ -129,7 +129,7 @@ class control extends baseControl
|
||||
|
||||
/**
|
||||
* If change the edition, trigger the upgrade process.
|
||||
*
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
@@ -388,8 +388,11 @@ class control extends baseControl
|
||||
if($this->config->edition == 'open') return false;
|
||||
if(empty($_POST)) return false;
|
||||
|
||||
$action = $this->dao->select('*')->from(TABLE_WORKFLOWACTION)->where('module')->eq($this->moduleName)->andWhere('action')->eq($this->methodName)->fetch();
|
||||
if($action->extensionType == 'none' and $action->buildin == 1) return false;
|
||||
|
||||
$flow = $this->dao->select('*')->from(TABLE_WORKFLOW)->where('module')->eq($this->moduleName)->fetch();
|
||||
$fields = $this->loadModel('workflowaction')->getFields($this->moduleName, $this->methodName);
|
||||
$fields = $this->workflowaction->getFields($this->moduleName, $this->methodName);
|
||||
$layouts = $this->loadModel('workflowlayout')->getFields($this->moduleName, $this->methodName);
|
||||
$rules = $this->dao->select('*')->from(TABLE_WORKFLOWRULE)->orderBy('id_desc')->fetchAll('id');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user