From fdc8ed02faf5f3cf006ce002feb2c171aa1ecb1e Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 8 Jul 2021 13:10:59 +0800 Subject: [PATCH] * fix bug for richtext in flow. --- framework/control.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/control.class.php b/framework/control.class.php index ed462a1433..fbff8c0488 100644 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -63,7 +63,7 @@ class control extends baseControl } /* Append editor field to this module config from workflow. */ - $textareaFields = $this->dao->select('*')->from(TABLE_WORKFLOWFIELD)->where('module')->eq($this->moduleName)->andWhere('control')->eq('textarea')->andWhere('buildin')->eq('0')->fetchAll('field'); + $textareaFields = $this->dao->select('*')->from(TABLE_WORKFLOWFIELD)->where('module')->eq($this->moduleName)->andWhere('control')->eq('richtext')->andWhere('buildin')->eq('0')->fetchAll('field'); if($textareaFields) { $editorIdList = array();