[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [patch #2875] class.accounts_ldap.inc.php, functi
From: |
Caeies |
Subject: |
[Phpgroupware-tracker] [patch #2875] class.accounts_ldap.inc.php, function get_accounts_with_contacts |
Date: |
Mon, 29 Mar 2004 06:01:58 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040130 Firebird/0.7 |
This mail is an automated notification from the patch tracker
of the project: phpGroupWare.
/**************************************************************************/
[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: None
Assigned to: None
Originator Email:
Status: Open
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.
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&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/
- [Phpgroupware-tracker] [patch #2875] class.accounts_ldap.inc.php, function get_accounts_with_contacts,
Caeies <=