test and corrections

This commit is contained in:
Benjamin Dalsass
2025-11-27 10:58:21 +01:00
parent d0a2af44ac
commit b8a093e625
22 changed files with 457 additions and 119 deletions

View File

@@ -45,7 +45,7 @@ class FormOutput extends AbstractFormIO
{
if (is_null($this->oConverter)) {
$sType = $this->GetDataType();
return new $sType($oData);
return $oData !== null ? new $sType($oData) : null;
}
return $this->oConverter->Convert($oData);