aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 093ecc6aa..ec22db239 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -150,9 +150,9 @@
// Now save specific stuff
$result = create_user_entity($this->get('guid'), $this->get('name'), $this->get('username'), $this->get('password'), $this->get('email'), $this->get('language'), $this->get('code'));
- echo "ANOTHER LOAD: ".$this->attributes['tables_loaded'];
+
// Increment the portion counter
- $this->attributes['tables_loaded'] ++;
+ if ($result) $this->attributes['tables_loaded'] ++;
return $result;
}