Adding a simple is_array check to the input.

In order to submit a multiselect, or group of checkboxes, the input name needs to be name="somename[]". The form parser was choking on this. So I added a simple conditional to squish the array down to a comma-separated string.

Signed-off-by: Jesse Schutt <jesse@trinity-studios.com>