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

jaydub - March 6, 2008 - 12:25
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

Itaye - March 6, 2008 - 15:16
Status:needs review» fixed

Thanks, it works!!!

#3

jaydub - March 15, 2008 - 16:42

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

#4

Anonymous (not verified) - March 29, 2008 - 16:52
Status:fixed» closed

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

#5

BradM - July 12, 2008 - 20:37
Status:closed» 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.

 
 

Drupal is a registered trademark of Dries Buytaert.