Hi,
I just tested the module, it's simple and work almost as expected.
Whenever I submit a comment (whichever user account/role I use) I got an error.
Warning : mb_stripos(): Empty delimiter in comment_control_comment_save() (line 162 in www\sites\all\modules\contrib\comment_control\comment_control.module).
It happens when the "List of disallowed words" is empty but the "List of disallowed bad words" isn't. In this case the first entry in the $word_list variable is empty which cause the error.
Unfortunately with my current knowledge I don't know how to fix it :/...
The comment is still saved and found in "admin/content/comment/approval" and the detection of bad words worked fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2685597-2.patch | 606 bytes | felribeiro |
Comments
Comment #1
Anonymous (not verified) commentedLaAaZ created an issue. See original summary.
Comment #2
felribeiro commentedComment #3
newsec commentedHi,
LaAaZ, felribeiro thanks for the report and patch.
Commited.
Comment #4
newsec commentedLaAaZ, use 7.x-1.x-dev version please.
Comment #5
newsec commentedComment #7
Anonymous (not verified) commentedJust tested the 7.x-1.x-dev version and the issue is fixed indeed. Thank you very much.