diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/users.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index efe2f6f83..90b7622ae 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -144,7 +144,7 @@ // Save generic stuff
if (!parent::save())
return false;
-
+
// Now save specific stuff
return create_user_entity($this->get('guid'), $this->get('name'), $this->get('username'), $this->get('password'), $this->get('email'), $this->get('language'), $this->get('code'));
}
@@ -277,7 +277,9 @@ */
function getOwner() {
if ($this->owner_guid == 0)
- return $this->getGUID();
+ return $this->getGUID(); + + return $this->owner_guid;
}
}
|