[sork] Patch to fix a PHP Notice

Chuck Hagenbuch chuck at horde.org
Wed Apr 5 17:56:23 PDT 2006


Quoting Gregory Colpart <reg at evolix.fr>:

> When I use passwd3 with ldap driver and ldap server (no tls, no ssl),
> I have a PHP Notice if I don't have 'sslhost' parameter in backends.php :
>
> Notice: Undefined index: sslhost in   
> /usr/share/horde3/passwd/lib/Driver/ldap.php on line 68
>
> When I add 'sslhost' parameter in backends.php, it seems that's ok :
>
> 'sslhost' => false
>
> Please find a patch for backends.php.dist in attachment.

I've fixed it by improving the checks in the LDAP driver instead. Thanks.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the sork mailing list