* finish task #7301.

This commit is contained in:
z
2020-07-03 13:07:49 +08:00
parent f1a94d6f57
commit 3aca3ee0cc
5 changed files with 13 additions and 4 deletions
+3 -2
View File
@@ -33,11 +33,12 @@ class control extends baseControl
{
parent::__construct($moduleName, $methodName, $appName);
if(!defined('IN_INSTALL') and !defined('IN_UPGRADE')) $this->setConcept();
if(defined('IN_USE') or (defined('RUN_MODE') and RUN_MODE == 'api')) $this->setConcept();
if(!isset($this->config->bizVersion)) return false;
/* Code for task #9224. Set requiredFields for workflow. */
if($this->dbh and $this->moduleName != 'upgrade' and $this->moduleName != 'install' and !defined('IN_INSTALL') and !defined('IN_UPGRADE'))
if($this->dbh or defined('IN_USE') or (defined('RUN_MODE') and RUN_MODE == 'api'))
{
$this->checkRequireFlowField();