|
From: | nobody |
Subject: | [Phpgroupware-tracker] [bug #5482] function get_specific_rights - error when checking group permissions |
Date: | Mon, 22 Sep 2003 16:54:23 -0400 |
User-agent: | Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131 |
=================== BUG #5482: FULL BUG SNAPSHOT =================== http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5482&group_id=509 Submitted by: jecinc Project: phpGroupWare Submitted on: Mon 09/22/2003 at 20:54 Category: API - phpGWapi Bug Group: 0.9.16RC1 Severity: 5 - Major Priority: None Resolution: None Assigned to: skwashd Status: Open Component Version: CVS Platform Version: Linux - RedHat Reproducibility: None Summary: function get_specific_rights - error when checking group permissions Original Submission: Warning output when processing group id's at line: while (list($null,$ad_account) = each($userGroups)) The function works as expected but issues warnings to screen. problem is that $userGroups = $GLOBALS['phpgw']->accounts->membership($this->account_id); doesn't return and array when $this->account_id is a group adding $userGroups = $userGroups ? $userGroups : array(); before the while() gets rid of the error No Followups Have Been Posted CC list is empty No files currently attached For detailed info, follow this link: http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5482&group_id=509 _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |