On Sat, Mar 12, 2011 at 12:23:57AM +0100, Seweryn Niemiec wrote:
> The solution I have found was to add
>     if (empty($params)) $params = array();
> to functions select_interface_types, select_clients and select_maps in
> lib/gui.controls.inc.php
> 
> Does anyone have an idea why this happen?
It's to do with PHP being extra finnicky, which is good, but its
happened along the way with a new version of PHP, which is bad.

> PHP Warning:  Parameter 1 to array_multisort() expected to be a
> reference, value given in .../jffnms-0.8.3/lib/api.inc.php on line 362
> 
> I do not know php language, but it sounds serious, like some sorting
> has no effect. Is it serious?
At worse whatever is using it is not going to get sorted, so you get out
of order rows.  I think this warning comes up with an empty list, you
don't have to worry too much about it.
Putting 
  $params = array();
after the line with reset($arr);  might fix it.  I don't think 0.9.0 has
this problem.

 - 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

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to