Fixed 51e8df3026cb99e9dbce4294273d967dfef9324f.
[kolarny.git] / classes / auth.php
index 2c4049faeebeb8a6399a1b3a0352d7fdb0031635..bcbdebbbc70f3e91d5435b5aebb8f1eb7ae512bb 100644 (file)
@@ -151,7 +151,7 @@ class Auth {
        }
 
        public function verify($priv = 0) {
-               if ($this->user == null) $auth->login();
+               if ($this->user == null) $this->login();
                return $this->user->has_privileges($priv);
        }