phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #5482] function get_specific_rights - error


From: nobody
Subject: [Phpgroupware-tracker] [bug #5482] function get_specific_rights - error when checking group permissions
Date: Mon, 22 Sep 2003 18:54:48 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030618 Debian/1.3.1-3

=================== BUG #5482: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5482&group_id=509

Changes by: Dave Hall <address@hidden>
Date: Tue 09/23/03 at 08:54 (Australia/Melbourne)

            What     | Removed                   | Added
---------------------------------------------------------------------------
            Priority | None                      | Normal


------------------ Additional Follow-up Comments ----------------------------
Hi,



Can you please provide the error message that is being generated.  I have 
grep'd for this code and can't find it anywhere.



Cheers



=================== BUG #5482: FULL BUG SNAPSHOT ===================


Submitted by: jecinc                  Project: phpGroupWare                 
Submitted on: Tue 09/23/03 at 06:54
Category:  API - phpGWapi             Bug Group:  0.9.16RC1                 
Severity:  5 - Major                  Priority:  Normal                     
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

Follow-up Comments
*******************

-------------------------------------------------------
Date: Tue 09/23/03 at 08:54         By: skwashd
Hi,



Can you please provide the error message that is being generated.  I have 
grep'd for this code and can't find it anywhere.



Cheers


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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]