From bac36456ae270445aa05fd77cf93f63706d02954 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 24 Feb 2010 16:01:31 +0100 Subject: [PATCH] Fix parenthesis. --- framework/Group/Group/contactlists.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Group/Group/contactlists.php b/framework/Group/Group/contactlists.php index c44ccb83e..718727f07 100644 --- a/framework/Group/Group/contactlists.php +++ b/framework/Group/Group/contactlists.php @@ -526,8 +526,8 @@ class Group_contactlists extends Group { */ function getGroupMemberships($user, $parentGroups = false) { - if ($memberships = $this->_cache->get('Group_contactlists_memberships' . md5($user)) !== false) { - return @unserialize($memberships); + if (($memberships = $this->_cache->get('Group_contactlists_memberships' . md5($user))) !== false) { + return unserialize($memberships); } $lists = $this->_listAllLists(); $memberships = array(); -- 2.11.0