Merge pull request #21487 from fappels/16_fix_commonobject

FIX regression by php8 fix on setVarsFromFetchObj
This commit is contained in:
Laurent Destailleur
2022-07-10 18:14:49 +02:00
committed by GitHub

View File

@@ -8891,7 +8891,7 @@ abstract class CommonObject
}
}
} else {
$this->{$field} = !empty($obj->{$field}) ? $obj->{$field} : null;
$this->{$field} = isset($obj->{$field}) ? $obj->{$field} : null;
}
}