diff --git a/UI/Common/UIxPageFrame.m b/UI/Common/UIxPageFrame.m index fda77e28b..47f9433ca 100644 --- a/UI/Common/UIxPageFrame.m +++ b/UI/Common/UIxPageFrame.m @@ -337,7 +337,12 @@ - (BOOL) isSuperUser { - return [[context activeUser] isSuperUser]; + SOGoUser *user; + + user = [context activeUser]; + + return ([user respondsToSelector: @selector (isSuperUser)] + && [user isSuperUser]); } /* browser/os identification */