From f0cfcea7cf4817877545c1d6ceacf1cd4476d306 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Mon, 19 Nov 2007 22:57:30 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1268 d1b88da0-ebda-0310-925b-ed51d893ca5b --- UI/Common/UIxPageFrame.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 */ -- 2.39.5