Re: error en Driver/ldap.php

Bernhard Erdmann <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
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']) {



-- 
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.