On Mon, Jun 06, 2011 at 08:48:48AM +0200, [email protected] wrote:
>  Warning: array_key_exists() [function.array-key-exists]: The second 
>  argument should be either an array or an object in 
>  /opt/jffnms2/lib/api.inc.php on line 485
This messages are harmless but can be annoying, you can change
line 485 to
   if (is_array($arr) and array_key_exists($key, $arr))

so it first checks if there is an array in $arr. Functionally, it should
be the same but with less errors.

 - Craig
-- 
Craig Small VK2XLZ    http://www.enc.com.au/       csmall at : enc.com.au
Debian GNU/Linux      http://www.debian.org/       csmall at : debian.org
GPG fingerprint:       1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to