* [bug#54836,done,0.3h] Open-source version does not follow extended field logic.

This commit is contained in:
hufangzhou
2024-09-04 03:26:26 +00:00
committed by qixinzhi
parent ca3ff94a48
commit 17209f247b
+2
View File
@@ -693,6 +693,8 @@ class control extends baseControl
*/
public function extendRequireFields(int $objectID = 0)
{
if($this->config->edition == 'open') return;
$uiID = $this->loadModel('workflowlayout')->getUIByDataID($this->moduleName, $this->methodName, $objectID);
$fields = $this->loadModel('workflowaction')->getFields($this->moduleName, $this->methodName, true, null, $uiID);
$layouts = $this->loadModel('workflowlayout')->getFields($this->moduleName, $this->methodName, $uiID);