From 8a0d69b18c633b209d4888bd947fe817a4ccadc2 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Mon, 27 Oct 2014 23:49:01 +0200 Subject: [PATCH] all properties are false for anonymous user --- ipf/auth/models.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ipf/auth/models.php b/ipf/auth/models.php index 41490e9..e0bc15c 100644 --- a/ipf/auth/models.php +++ b/ipf/auth/models.php @@ -49,6 +49,11 @@ class AnonymousUser { return false; } + + public function __get($prop) + { + return false; + } } class User extends DBObject -- 2.49.0