Re: Patch to fix a PHP Notice

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Quoting Gregory Colpart <[email protected]>:

> 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
-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.