🎨 Fix argument of \ormCustomFieldsValue::GetForm

This commit is contained in:
Pierre Goiffon
2023-03-20 16:44:28 +01:00
parent 04a80fcd39
commit 82d2ac66d6
2 changed files with 4 additions and 2 deletions

View File

@@ -50,10 +50,11 @@ class ormCustomFieldsValue
* Wrapper used when the only thing you have is the value...
* @return \Combodo\iTop\Form\Form
*/
public function GetForm()
public function GetForm($sFormPrefix = null)
{
$oAttDef = MetaModel::GetAttributeDef(get_class($this->oHostObject), $this->sAttCode);
return $oAttDef->GetForm($this->oHostObject);
return $oAttDef->GetForm($this->oHostObject, $sFormPrefix);
}
public function GetAsHTML($bLocalize = true)