Can not see the reason
Itaye - March 3, 2008 - 11:19
| Project: | abuse |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
The reason (chosen by the user) doesn't appear in the moderation page.

#1
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.
#2
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
Automatically closed -- issue fixed for two weeks with no activity.
#5
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 executedabuse 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.