This commit is contained in:
2023-01-11 15:28:47 +01:00
parent 4c51403daa
commit 05fd209204
7 changed files with 61 additions and 5 deletions

View File

@@ -109,7 +109,7 @@ abstract class DatabaseEntity implements ArrayAccess, JsonSerializable {
}
}
if ($propertyNames === null) {
if ($propertyNames === null && !empty($this->customData)) {
$jsonArray = array_merge($jsonArray, $this->customData);
}