]> git.andy128k.dev Git - ipf.git/commitdiff
all properties are false for anonymous user
authorAndrey Kutejko <andy128k@gmail.com>
Mon, 27 Oct 2014 21:49:01 +0000 (23:49 +0200)
committerAndrey Kutejko <andy128k@gmail.com>
Mon, 27 Oct 2014 21:49:01 +0000 (23:49 +0200)
ipf/auth/models.php

index 41490e994129e367592401f5ebf57b229ddce026..e0bc15cbc08bff1d6e53ecc7336415fa61b11650 100644 (file)
@@ -49,6 +49,11 @@ class AnonymousUser
     {
         return false;
     }
+
+    public function __get($prop)
+    {
+        return false;
+    }
 }
 
 class User extends DBObject