aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Script/Reports.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-03-01 15:56:14 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-03-01 15:56:14 +0000
commite20bfd7940775a8826e42934e7a714b1ee84f100 (patch)
tree80913ae8d0b37520bf7959cb17382b8a22ff8deb /perllib/FixMyStreet/Script/Reports.pm
parent8ed2f5d17ab6c80f977439a7fcf3013545e5433d (diff)
parent04de4f97ff05e5662965d71e1bdae6c639f7d039 (diff)
Merge branch 'email-previewing'
Diffstat (limited to 'perllib/FixMyStreet/Script/Reports.pm')
-rw-r--r--perllib/FixMyStreet/Script/Reports.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/perllib/FixMyStreet/Script/Reports.pm b/perllib/FixMyStreet/Script/Reports.pm
index 8e4a4aec1..be3c4c69a 100644
--- a/perllib/FixMyStreet/Script/Reports.pm
+++ b/perllib/FixMyStreet/Script/Reports.pm
@@ -178,16 +178,8 @@ sub send(;$) {
if ($h{category} eq _('Other')) {
$h{category_footer} = _('this type of local problem');
- $h{category_line} = '';
} else {
$h{category_footer} = "'" . $h{category} . "'";
- $h{category_line} = sprintf(_("Category: %s"), $h{category}) . "\n\n";
- }
-
- if ( $row->subcategory ) {
- $h{subcategory_line} = sprintf(_("Subcategory: %s"), $row->subcategory) . "\n\n";
- } else {
- $h{subcategory_line} = "\n\n";
}
$h{bodies_name} = join(_(' and '), @dear);