On Sat, Jun 5, 2010 at 7:24 AM, Craig Small <csm...@enc.com.au> wrote:
> $obj_params is usually NULL. PHP didn't really seem to mind this, until
> recently (around version 5.3). Then PHP decided that if $obj_params was
> not an array, then it would return FALSE and not your list of items.
> No items means nothing in the drop-down boxes.
>
> The fix is to brute-force ensure the $obj_params is an array, above the
> line given put this:
>
>  if (!is_array($obj_params)) $obj_params = array();
>
> That fixed it for me.
> Strangely enough, it was fixed in the next version as it was giving a
> warning.

Thanks for the explanation. The above line fixed it for me.

--Chris

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to