If variable 'compact_forms_ids' is empty we get PHP warnings in watchdog:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in compact_forms_form_alter() (line 65 of /var/www/edn/sites/all/modules/contrib/compact_forms/compact_forms.module).

Comments

ygerasimov’s picture

Status: Active » Needs review
StatusFileSize
new873 bytes

It happens because $form_ids never gets set. Attached patch to fix this.