From: Andrey Kutejko Date: Mon, 27 Oct 2014 21:49:01 +0000 (+0200) Subject: all properties are false for anonymous user X-Git-Tag: 0.6~129 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=8a0d69b18c633b209d4888bd947fe817a4ccadc2;p=ipf.git all properties are false for anonymous user --- 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