mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
change turbo for form errors
This commit is contained in:
@@ -44,7 +44,8 @@ class FormOutput extends AbstractFormIO
|
||||
public function ConvertValue(mixed $oData): mixed
|
||||
{
|
||||
if (is_null($this->oConverter)) {
|
||||
return $oData;
|
||||
$sType = $this->GetDataType();
|
||||
return new $sType($oData);
|
||||
}
|
||||
|
||||
return $this->oConverter->Convert($oData);
|
||||
|
||||
Reference in New Issue
Block a user