6.0.0-RC7
6/29/26

[#4180] ldap error not caught
Summary ldap error not caught
Queue Vacation
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester glen (at) delfi (dot) ee
Created 7/20/06 (7284 days ago)
Due
Updated 7/20/06 (7284 days ago)
Assigned
Resolved 7/20/06 (7284 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
594 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed, thanks.
49 glen (at) delfi (dot) ee Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ldap error not caught
Queue ⇒ Vacation
Reply to this comment
PHP Fatal error:  Cannot use object of type PEAR_Error as array in 
/usr/share/horde/vacation/lib/Driver/ldap.php on line 56



the offending code is:



         // Get current details.

         $current_details = $this->_getUserDetails($user, $realm, $password);

         if ($current_details === false) {

             return false;

         }



appears that $current_details is of type PEAR_Error when there was failure.

Saved Queries