The reason (chosen by the user) doesn't appear in the moderation page.

CommentFileSizeAuthor
#1 abuse.module.229355.patch1.17 KBjaydub

Comments

jaydub’s picture

Status: Active » Needs review
StatusFileSize
new1.17 KB

This can be accomplished by a JOIN to the {abuse_reasons} table in the abuse_load_report() function and the reason result can then be printed out in the theme_abuse_report() function.

See attached patch.

itaye’s picture

Status: Needs review » Fixed

Thanks, it works!!!

jaydub’s picture

Slightly different patch applied in CVS due to an issue with PostgreSQL 8.3 and the JOIN on columns of different data types...

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

BradM’s picture

Status: Closed (fixed) » Active

still doesn't work -- just downloaded and installed the latest version. When I go to save a reason in the admin section, it returns with the message "reason saved" (not verbatim). However, the reason is not saved, and does not appear in the 'flag' form. Any ideas?

BTW these two error messages appeared when I ran update.php:

* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /path/to/update.php on line 309.
* warning: Invalid argument supplied for foreach() in /path/to/update.php on line 542.

And this additional info was displayed below:

The following queries were executed
abuse module
Update #2
* No queries

I should also note that at one point I thought I had seen an "abuse_reasons" table, however, it does not seem to exist any longer in my db.