* [bug#51369,done,0.2h] remove budget from requiredFields.

This commit is contained in:
liumengyi
2024-06-24 10:45:07 +08:00
committed by 田淑杰
parent 75f67c85a7
commit d61d009a35
+1
View File
@@ -567,6 +567,7 @@ class customModel extends model
foreach(explode(',', $fieldList) as $fieldName)
{
if($moduleName == 'user' && $method == 'edit' && strpos($this->config->user->contactField, $fieldName) === false) continue;
if($moduleName == 'project' && $fieldName == 'budget' && $this->config->vision == 'lite') continue;
if($fieldName == 'comment') $fields[$fieldName] = $this->lang->comment;
if(isset($moduleLang->{$fieldName}) && is_string($moduleLang->{$fieldName})) $fields[$fieldName] = $moduleLang->$fieldName;