From d00522421caaf7acf248180c8fad92d7358aeabf Mon Sep 17 00:00:00 2001 From: Moray Jones Date: Mon, 4 Jul 2022 16:19:08 +0100 Subject: [PATCH] fixup! [Bucks] Add email alternative to templates --- perllib/FixMyStreet/App/Controller/Admin/Templates.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perllib/FixMyStreet/App/Controller/Admin/Templates.pm b/perllib/FixMyStreet/App/Controller/Admin/Templates.pm index b8da1fc0ff4..6f0c2018411 100644 --- a/perllib/FixMyStreet/App/Controller/Admin/Templates.pm +++ b/perllib/FixMyStreet/App/Controller/Admin/Templates.pm @@ -100,7 +100,7 @@ sub edit : Path : Args(2) { $template->text( $c->get_param('text') ); $template->email_text( $c->get_param('email') || ''); - $template->use_template_email( $c->get_param('use_template_email') || ''); + $template->use_template_email( $c->get_param('use_template_email') || 0); $template->state( $c->get_param('state') ); my $ext_code = $c->cobrand->call_hook('admin_templates_external_status_code_hook');