diff options
-rw-r--r-- | perllib/FixMyStreet/Alert.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Alert.pm b/perllib/FixMyStreet/Alert.pm index aa6d385eb..a78d820a3 100644 --- a/perllib/FixMyStreet/Alert.pm +++ b/perllib/FixMyStreet/Alert.pm @@ -191,7 +191,7 @@ sub email_alerts ($) { # Convert integer to GB locale string (with a ".") mySociety::Locale::in_gb_locale { $d = sprintf("%f", int($d*10+0.5)/10); - } + }; my $testing_email_clause = "and problem.email <> '$testing_email'" if $testing_email; my %data = ( template => $template, data => '', alert_id => $alert->{id}, alert_email => $alert->{email}, lang => $alert->{lang}, cobrand => $alert->{cobrand}, cobrand_data => $alert->{cobrand_data} ); my $q = "select * from problem_find_nearby(?, ?, ?) as nearby, problem |