20250224#2

This commit is contained in:
User committed 2025-02-24 19:02:59 +03:00
1 parent 5b0c0bc7b4
commit 73c9af71ab
2 files changed
+2 -18

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ abstract class AbstractRepository extends AbstractDataObject implements Reposito
$fieldValue[$property->getName()] = $property->getValue($object);
}
if(false !== $fieldValue[$property->getName()]) {
if(array_key_exists($property->getName(), $fieldValue) && false !== $fieldValue[$property->getName()]) {
$out[strtolower(preg_replace("'([A-Z])'", "_$1", $property->getName()))] = $fieldValue[$property->getName()];
}
}