inlineedit gives warnings on php 5 with php warnings on

skyrun

Active Member
edit completes, but php warning appears.

to see, go to:
http://www.skyrun.com/skyforce/leads

and inline edit any field.

warning(s) produced:
Code:
Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in [root]/skyforce/libraries/joomla/database/driver/mysqli.php on line 194
Warning: Invalid argument supplied for foreach() in [root]/skyforce/components/com_fabrik/models/group.php on line 1008
Warning: array_fill(): Number of elements must be positive in [root]/skyforce/components/com_fabrik/models/element.php on line 6637
Warning: Invalid argument supplied for foreach() in [root]/skyforce/components/com_fabrik/models/element.php on line 6645

seems to be unique to this list (leads) and the activity list (click on related tables act). campaigns list for example doesn't do it.
 
its to do with the joined repeat group data, the list isn't knowlegable about the fact those fields are repeatable. I could hack around things to add tests to the save code to avoid those notices, but the better (but longer) way would be to make the list a little more inteligent so that it knows more about groups (and if they repeat) - that way the inline edit plugin can access that information and correctly build the form data,
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top