diff options
Diffstat (limited to 'engine/lib/objects.php')
-rw-r--r-- | engine/lib/objects.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php index 3c7448137..d1e9b78c2 100644 --- a/engine/lib/objects.php +++ b/engine/lib/objects.php @@ -136,7 +136,12 @@ return false;
// Now save specific stuff
- return create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'));
+ $result = create_object_entity($this->get('guid'), $this->get('title'), $this->get('description'));
+ + // Increment the portion counter + if ($result) $this->attributes['tables_loaded'] ++; + + return $result; }
/**
|