[horde] HEAD: Warnings from Horde::addScriptFile

Rick Emery rick at emery.homelinux.net
Fri Jan 24 17:48:42 PST 2003


Quoting Chris Hastie <lists at oak-wood.co.uk>:

> Having just done a cvs update I'm getting the following warning in lots
> of places:
> 
> Warning: Wrong datatype for first argument in call to array_key_exists
> in /usr/local/www/mail/data/horde/lib/Horde.php on line 262
> 
> It appears to be connected with setting $app=null by default.
> --
> Chris Hastie

I got these warnings also.

I'm not sure if it's the *correct* fix, but the attached diff got rid of my
warnings, and page loading seems to be back up to speed. I just moved a block of
code down.

hth,
Rick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Horde.php.diff
Type: text/diff
Size: 440 bytes
Desc: not available
Url : http://lists.horde.org/archives/horde/attachments/20030124/585eac3e/Horde.php-0002.bin


More information about the horde mailing list