diff options
Diffstat (limited to 'engine/lib/sites.php')
-rw-r--r-- | engine/lib/sites.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php index cceffcda2..96e65d7c2 100644 --- a/engine/lib/sites.php +++ b/engine/lib/sites.php @@ -142,7 +142,12 @@ return false; // Now save specific stuff - return create_site_entity($this->get('guid'), $this->get('name'), $this->get('description'), $this->get('url')); + $result = create_site_entity($this->get('guid'), $this->get('name'), $this->get('description'), $this->get('url')); + + // Increment the portion counter + if ($result) $this->attributes['tables_loaded'] ++; + + return $result; } /** |