Active
Project:
Activism
Version:
6.x-2.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2009 at 19:01 UTC
Updated:
20 Sep 2010 at 16:18 UTC
I get the following warning when going to update.php?op=selection:
warning: in_array() [function.in-array]: Wrong datatype for second argument in activism.module on line 612.
The attached patch suppresses the warning by checking if the variable is an array first.
| Comment | File | Size | Author |
|---|---|---|---|
| update_warning.patch | 939 bytes | samlerner |
Comments
Comment #1
ClearXS commentedwarning: in_array() [function.in-array]: Wrong datatype for second argument in .../sites/all/modules/activism/activism.module on line 612.Same issues for many months. Will disable the module again until there is a fix, as this message also appears on my user pages.
(& not interested in suppressing the warning on a site that needs to continue with their existing installation and users, but a new install for a module that works)
Priority changed to major only to be observed, as this issue is near a year old.