mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 15:52:24 +02:00
N°8598 - Request template class not taken into account on portal scopes
This commit is contained in:
@@ -377,7 +377,10 @@ class ObjectFormManager extends FormManager
|
||||
|
||||
/** @var Field $oField */
|
||||
$oField = null;
|
||||
if (is_callable([$oAttDef, 'MakeFormField']))
|
||||
if (is_callable([$oAttDef, 'MakeFormFieldForPortal']))
|
||||
{
|
||||
$oField = $oAttDef->MakeFormFieldForPortal($this->oObject, null, $this->oFormHandlerHelper);
|
||||
} elseif (is_callable([$oAttDef, 'MakeFormField']))
|
||||
{
|
||||
$oField = $oAttDef->MakeFormField($this->oObject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user