diff --git a/src/Core/Entity.php b/src/Core/Entity.php index 0b93f70e34..b5303dbebf 100644 --- a/src/Core/Entity.php +++ b/src/Core/Entity.php @@ -62,7 +62,7 @@ abstract class Entity } foreach ($args as $prop => $val) { - if (property_exists($class, $prop) && $val != null) { + if (property_exists($class, $prop)) { $set = 'set' . Formatting::snakeCaseToCamelCase($prop); $obj->{$set}($val); } else {