diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-25 22:16:33 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-25 22:16:33 +0200 |
commit | 2777d36d5e5271ea70f8ee7d4c403e4309812de8 (patch) | |
tree | fdf329823aac507fc2cf34cc9baefabee51d57b6 /core | |
parent | a86bdc6b5bab78b4026f44161413f4e482df42e4 (diff) | |
download | blog-2777d36d5e5271ea70f8ee7d4c403e4309812de8.tar.gz blog-2777d36d5e5271ea70f8ee7d4c403e4309812de8.tar.xz blog-2777d36d5e5271ea70f8ee7d4c403e4309812de8.zip |
Fix wrong property name in Repository class
Diffstat (limited to 'core')
-rw-r--r-- | core/namespace/ORM/Repository.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/namespace/ORM/Repository.php b/core/namespace/ORM/Repository.php index 507605c..868a60b 100644 --- a/core/namespace/ORM/Repository.php +++ b/core/namespace/ORM/Repository.php @@ -42,8 +42,8 @@ abstract class Repository { # Removes an entity from the runtime cache #=============================================================================== protected function removeInstance(int $identifier) { - if(isset($this->cache[$identifier])) { - unset($this->cache[$identifier]); + if(isset($this->entities[$identifier])) { + unset($this->entities[$identifier]); } } |