diff options
Diffstat (limited to 'perllib/FixMyStreet/Script/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/Script/Reports.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Script/Reports.pm b/perllib/FixMyStreet/Script/Reports.pm index 73c179751..aa46a5c43 100644 --- a/perllib/FixMyStreet/Script/Reports.pm +++ b/perllib/FixMyStreet/Script/Reports.pm @@ -107,7 +107,7 @@ sub send(;$) { $h{osm_url} .= '?m'; } - if ( $cobrand->allow_anonymous_reports && + if ( $cobrand->allow_anonymous_reports($row->category) && $row->user->email eq $cobrand->anonymous_account->{'email'} ) { $h{anonymous_report} = 1; |