6.0.0-beta1
8/9/25

[#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 07/20/2006 (6960 days ago)
Due
Updated 07/20/2006 (6960 days ago)
Assigned
Resolved 07/20/2006 (6960 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/20/2006 04:32:59 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed, thanks.
07/20/2006 09:29:04 AM 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