aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-01-08 09:20:53 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-01-08 09:20:55 +0000
commite9476d05677f5abdff9308e935409059fc90597d (patch)
tree513fe9fb2507fd7c6dc0f290535d5f8dbaccc2f5 /perllib/FixMyStreet
parent27fe9940d3830b6a9d23c82aeca5a93975eee5c3 (diff)
[Bexley] Allow resending, still hide resend button
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin/Reports.pm2
-rw-r--r--perllib/FixMyStreet/Cobrand/Bexley.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin/Reports.pm b/perllib/FixMyStreet/App/Controller/Admin/Reports.pm
index 91b086637..2cfb67306 100644
--- a/perllib/FixMyStreet/App/Controller/Admin/Reports.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin/Reports.pm
@@ -255,7 +255,7 @@ sub edit : Path('/admin/report_edit') : Args(1) {
$c->detach('edit_display') if $done;
}
- if ( $c->get_param('resend') && !$c->cobrand->call_hook('disable_resend') ) {
+ if ( $c->get_param('resend') && !$c->cobrand->call_hook('disable_resend_button') ) {
$c->forward('/auth/check_csrf_token');
$problem->resend;
diff --git a/perllib/FixMyStreet/Cobrand/Bexley.pm b/perllib/FixMyStreet/Cobrand/Bexley.pm
index 5900ba02d..6ec2b6f50 100644
--- a/perllib/FixMyStreet/Cobrand/Bexley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bexley.pm
@@ -27,7 +27,7 @@ sub disambiguate_location {
};
}
-sub disable_resend { 1 }
+sub disable_resend_button { 1 }
sub on_map_default_status { 'open' }