From: wolfgang Date: Mon, 19 Nov 2007 22:57:30 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1268 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0cfcea7cf4817877545c1d6ceacf1cd4476d306;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1268 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/UI/Common/UIxPageFrame.m b/UI/Common/UIxPageFrame.m index fda77e28..47f9433c 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 */