diff options
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Auth.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/Auth.class.php b/src/models/Auth.class.php index bb35be5..39f627e 100644 --- a/src/models/Auth.class.php +++ b/src/models/Auth.class.php @@ -13,7 +13,7 @@ class Auth extends Model { private static $users = array(); public static function getInstance($uid) { if (!isset(self::$users[$uid])) { - $type = Database::getInstance()->getStatus($uid)<3; + $type = Database::getInstance()->getStatus($uid); switch ($type) { case 0: // unactivated user case 1: // user |