phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [patch #2875>] class.accounts_ldap.inc.php, funct


From: Dave Hall
Subject: [Phpgroupware-tracker] [patch #2875>] class.accounts_ldap.inc.php, function get_accounts_with_contacts
Date: Mon, 29 Mar 2004 23:48:20 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040317 Firefox/0.8

This mail is an automated notification from the patch tracker
 of the project: phpGroupWare.

/**************************************************************************/
[patch #2875>] Latest Modifications:

Changes by: 
                Dave Hall <address@hidden>
'Date: 
                Tue 03/30/04 at 04:48 (Australia/Melbourne)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
committed to 16






/**************************************************************************/
[patch #2875>] Full Item Snapshot:

URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=2875>>
Project: phpGroupWare
Submitted by: Caeies
On: Mon 03/29/04 at 11:01

Category:  API -  phpGWapi
Priority:  9 - Immediate
Resolution:  Fixed
Assigned to:  skwashd
Originator Email:  
Status:  Closed


Summary:  class.accounts_ldap.inc.php, function get_accounts_with_contacts

Original Submission:  This patch is a little correction for the function 
get_account_with_contact() which is called in some cases when the setup is done 
(creation of the first LDAP Accounts).
This bug is not triggered with some *php versions*.

The later php versions of ldap_get_entries always return an array which was not 
the case in early php4 version. This array contains a row call 'count' which 
contains the num of returned entries.

so we need to kill this row before returning the array, which could be a 0 row 
array.

I just post the patch :)

Greetz to apply it ASAP, since it broke the setup process.

Caeies.



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


-------------------------------------------------------
Date: Tue 03/30/04 at 04:48         By: skwashd
committed to 16

-------------------------------------------------------
Date: Mon 03/29/04 at 11:22         By: fipsfuchs
Hi skwashd,

patch looks OK for me.

Cheers, fips






File Attachments
-------------------

-------------------------------------------------------
Date: Mon 03/29/04 at 11:01  Name: patch_class.accounts_ldap.inc.php.diff  
Size: 737KB   By: Caeies

http://savannah.gnu.org/patch/download.php?item_id=2875>&amp;item_file_id=3023






For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=2875>>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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