aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ORM/Entity.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/namespace/ORM/Entity.php')
-rw-r--r--core/namespace/ORM/Entity.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/namespace/ORM/Entity.php b/core/namespace/ORM/Entity.php
index 592aeb5..61b9371 100644
--- a/core/namespace/ORM/Entity.php
+++ b/core/namespace/ORM/Entity.php
@@ -39,6 +39,7 @@ abstract class Entity implements EntityInterface {
#===============================================================================
public function getAll(array $exclude = []): array {
$attributes = get_object_vars($this);
+ $exclude = array_merge($exclude, ['_modified']);
return array_filter($attributes, function($attribute) use($exclude) {
return !in_array($attribute, $exclude);