[Tickets #4180] NEW: ldap error not caught

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Jul 20 02:29:04 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4180
-----------------------------------------------------------------------
 Ticket             | 4180
 Created By         | glen at delfi.ee
 Summary            | ldap error not caught
 Queue              | Vacation
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


glen at delfi.ee (2006-07-20 02:29) wrote:

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.




More information about the bugs mailing list