[sork] Patch to fix a PHP Notice

Gregory Colpart reg at evolix.fr
Wed Apr 5 17:10:17 PDT 2006


Hi,

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.

Regards,
-- 
Gregory Colpart <reg at evolix.fr>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/
-------------- next part --------------
--- backends.php.dist.orig	2006-04-06 02:03:14.000000000 +0200
+++ backends.php.dist	2006-04-06 02:03:45.000000000 +0200
@@ -186,7 +186,8 @@
         'realm' => '',
         'encryption' => 'crypt',
         // make sure the host == cn in the server certificate
-        'tls' => false
+        'tls' => false,
+        'sslhost' => false
     )
 );
 


More information about the sork mailing list