When I use the forms module via the survey module, each time I add a field, I get several messages of the following sort:

warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/wallace/modules/forms/forms.module on line 41.

I fixed it by changing:
$return = array_merge($return, $result);
to $return = array_merge($return, (array)$result);
but I have no idea if that's the right way to do it. It seems to work, though. Forms submit and results are stored.

Comments

eliza411’s picture

Title: Volunteering in Eugene School District 4J » array_merge()
quicksketch’s picture

Title: array_merge() » array_merge()
Status: Active » Closed (fixed)

Forms and survey modules are no longer being maintained, use Webform module instead.

---Closing down issue queue of survey module---