[sork] error en Driver/ldap.php

Bernhard Erdmann be at berdmann.de
Sun Oct 9 05:28:44 PDT 2005


Oliver Schulze L. <oliver <at> samera.com.py> writes:

> 
> Hi,
> I'm using Passwd H3, ldap backend, RHEL4 and got this error:
> *Notice*: Undefined variable: lookupshadow in 
> */var/www/html/horde/passwd/lib/Driver/ldap.php* on line *272
> It seems that there is a need for an else in that if, but I need to look
> with more detail a the code to understand it.


Using passwd-h3-3.0-rc1, I hacked up lib/Driver/ldap.php to suppress this
message in line 272:

-        if ($lookupshadow['shadowlastchange']) {
+        if (!is_null($this->_params['shadowlastchange']) &&
$lookupshadow['shadowlastchange']) {





More information about the sork mailing list