Project:abuse
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

Comments

#1

Status:active» needs review

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.

AttachmentSize
abuse.module.229355.patch 1.17 KB

#2

Status:needs review» fixed

Thanks, it works!!!

#3

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

#4

Status:fixed» closed (fixed)

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

#5

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.
nobody click here