When the spam module is enabled an option S with the Value 0 appears in the Update Options link. This is caused by the default option in the switch statement contained in the function spam_reported_nodes_operations.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | spam.module_0.diff | 1.17 KB | mvc |
Comments
Comment #1
nancydruI don't have this in the "-dev" version.
Comment #2
mvcI get this too (Drupal 5.2, spam.module 5.x-1.x-dev from 2007-09-08 datestamp 1189210025 -- please include the $Id$ tag so we can know which CVS version of the file we're using!)
The internal function
spam_node_operations()is accidentally implementinghook_node_operations(), which was introduced in Drupal 5 and is meant for mass node operations at/admin/content/node. To fix this, use a non-reserved function name.Trivial patch attached.
Comment #3
jeremy commentedWhat format is your patch? I'm not sure what the "!" is supposed to mean. Unable to apply.
Comment #4
jeremy commentedManually applied patch. Thanks for debugging this.
Comment #5
(not verified) commented