diff options
author | deva <deva> | 2008-10-28 17:40:14 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-28 17:40:14 +0000 |
commit | 8019ffe457f035a830336d5a4e5faaf9fcd2b3af (patch) | |
tree | 391d0eee956428cdf8fecb3ef2240f5816d8e1b6 /forum/utils/users.php | |
parent | 729cff9ffa98ca750be5cc1a05bb64ebd411a521 (diff) |
Fixed wierd bug in login system.
Diffstat (limited to 'forum/utils/users.php')
-rw-r--r-- | forum/utils/users.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forum/utils/users.php b/forum/utils/users.php index 7f54eee..ee04b92 100644 --- a/forum/utils/users.php +++ b/forum/utils/users.php @@ -97,7 +97,7 @@ class Users { foreach($this->users as $user) { if($user->username == $username) return $user->uid; } - return false; + return -1; } public function getUser($uid) @@ -143,4 +143,4 @@ class Users { } } -?>
\ No newline at end of file +?> |