Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.2.0

Bug #13721 wrong constant prefix
Submitted: 2008-04-19 11:11 UTC
From: lukasfeiler Assigned: beni
Status: Closed Package: Net_LDAP2 (version 2.0.0RC2)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: 2.0.0    
Subscription  


 [2008-04-19 11:11 UTC] lukasfeiler (Lukas Feiler)
Description: ------------ The two constants NET_LDAP_ERROR and NET_LDAP_VERSION should use the prefix NET_LDAP2. Test script: --------------- <?php require_once 'Net/LDAP.php'; require_once 'Net/LDAP2.php'; echo 'OK'; ?> Expected result: ---------------- OK Actual result: -------------- Notice: Constant NET_LDAP_ERROR already defined in C:\php\PEAR\Net\LDAP2.php on line 35 Notice: Constant NET_LDAP_VERSION already defined in C:\php\PEAR\Net\LDAP2.php on line 40 OK

Comments

 [2008-04-21 05:37 UTC] beni (Benedikt Hallinger)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.