Fixed 51e8df3026cb99e9dbce4294273d967dfef9324f.
authorLadislav Láska <laska@kam.mff.cuni.cz>
Thu, 23 Jun 2011 10:04:19 +0000 (12:04 +0200)
committerLadislav Láska <laska@kam.mff.cuni.cz>
Thu, 23 Jun 2011 10:04:19 +0000 (12:04 +0200)
classes/auth.php

index 2c4049faeebeb8a6399a1b3a0352d7fdb0031635..bcbdebbbc70f3e91d5435b5aebb8f1eb7ae512bb 100644 (file)
@@ -151,7 +151,7 @@ class Auth {
        }
 
        public function verify($priv = 0) {
        }
 
        public function verify($priv = 0) {
-               if ($this->user == null) $auth->login();
+               if ($this->user == null) $this->login();
                return $this->user->has_privileges($priv);
        }
 
                return $this->user->has_privileges($priv);
        }