6.0.0-beta1
7/14/25

[#8586] turba/lib/Data/ldif.php uses function only avail in PHP >= 5.1
Summary turba/lib/Data/ldif.php uses function only avail in PHP >= 5.1
Queue Turba
Queue Version 2.3.2
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester pop3 (at) flachtaucher (dot) de
Created 09/18/2009 (5778 days ago)
Due
Updated 09/18/2009 (5778 days ago)
Assigned
Resolved 09/18/2009 (5778 days ago)
Github Issue Link
Github Pull Request
Milestone 2.3.3
Patch No

History
09/18/2009 02:26:16 PM Jan Schneider Comment #3
Assigned to Jan Schneider
State ⇒ Resolved
Milestone ⇒ 2.3.3
Reply to this comment
Fixed.
09/18/2009 02:23:24 PM CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

Don't use PHP 5 code (Bug #8586).
http://cvs.horde.org/diff.php/turba/lib/Data/ldif.php?rt=horde&r1=1.2.2.4&r2=1.2.2.5&ty=u
09/18/2009 11:33:09 AM pop3 (at) flachtaucher (dot) de Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ turba/lib/Data/ldif.php uses function only avail in PHP >= 5.1
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
The file turba/lib/Data/ldif.php uses a function only available in PHP 
;= 5.1 (not in PHP4): array_intersect_key
Depency on PHP>= 5.1 is not noted in the INSTALL file of horde or 
turba, according to those files turba should work with PHP4.



Workaround: If function is not defined implement it, for example like here:



http://snipplr.com/view/4920/arrayintersectkey-for-php4/

Saved Queries