diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-30 10:53:32 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-30 10:53:32 +0000 |
commit | 9497a81d67a7c326a973411bd382dff237628423 (patch) | |
tree | 9a7ad62d64f9b9af395a96aa8bbbdaad3e4cdb6b /engine/lib/entities.php | |
parent | 38fdb3d3a59c1d4ae4d0663d0930a6145705e776 (diff) | |
download | elgg-9497a81d67a7c326a973411bd382dff237628423.tar.gz elgg-9497a81d67a7c326a973411bd382dff237628423.tar.bz2 |
Fixed minor cache counting issue
git-svn-id: https://code.elgg.org/elgg/trunk@1207 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r-- | engine/lib/entities.php | 2 |
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); |