aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 284140ca1..1d446cff5 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -464,7 +464,7 @@
$this->attributes[$key] = $value;
// Increment the portion counter
- $this->attributes['tables_loaded'] ++;
+ if (!$this->isFullyLoaded()) $this->attributes['tables_loaded'] ++;
// Cache object handle
if ($this->attributes['guid']) cache_entity($this);