I get warning on every page where search block is displayed:

Warning: Invalid argument supplied for foreach() in fluxservice_forms() (Zeile 184 von /srv/default/vcs/sites/all/modules/contrib/fluxservice/fluxservice.module).

CommentFileSizeAuthor
#3 fluxservice_strict_in_array.patch692 bytesa.milkovsky
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

a.milkovsky created an issue. See original summary.

a.milkovsky’s picture

Issue summary: View changes
a.milkovsky’s picture

Assigned: a.milkovsky » Unassigned
Status: Active » Needs review
FileSize
692 bytes

Search api form has TRUE as a second parameter, so in_array($type, array('fluxservice_account', 'fluxservice_service')) returns true.

in_array() should be used with a $strict parameter.

  • fago committed 0d9dcd9 on 7.x-1.x authored by a.milkovsky
    Issue #2614132 by a.milkovsky: Warning: Invalid argument supplied for...
fago’s picture

thx, I committed this.

fago’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.