mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 06:18:44 +02:00
🐛 N°1980 Portal: Fix form validation when request template displayed as read only
This commit is contained in:
@@ -1100,7 +1100,7 @@ class ObjectFormManager extends FormManager
|
||||
}
|
||||
elseif ($oAttDef->GetEditClass() === 'CustomFields')
|
||||
{
|
||||
if (isset($value['template_data']) && $value['template_data'] !== '')
|
||||
if (!empty($value['template_data']) && !empty($value['user_data']))
|
||||
{
|
||||
$this->oObject->Set($sAttCode, $value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user