* Fix bug for artifactrepo config error.

This commit is contained in:
caoyanyi
2023-08-29 17:02:34 +08:00
parent aa5af86036
commit c598b69ab7
+1 -1
View File
@@ -314,7 +314,7 @@ class commonModel extends model
if($config->edition == 'open') return array();
$required = $dbh->query("SELECT * FROM " . TABLE_WORKFLOWRULE . " WHERE `type` = 'system' and `rule` = 'notempty'")->fetch();
$fields = $app->control->loadModel('flow')->getExtendFields($module, $method);
$fields = (new self())->loadModel('flow')->getExtendFields($module, $method);
$formConfig = array();
$type = 'string';
foreach($fields as $fieldObject)