aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Alert.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm
index c1b164a7c..b1856b22c 100644
--- a/perllib/FixMyStreet/App/Controller/Alert.pm
+++ b/perllib/FixMyStreet/App/Controller/Alert.pm
@@ -317,11 +317,11 @@ sub generate_council_and_ward_options : Private {
foreach (values %{ $c->stash->{all_councils} }) {
if ($councils{$_->{type}}) {
$council = $_;
- $council->{short_name} = Page::short_name( $council );
+ $council->{short_name} = $c->cobrand->short_name( $council );
( $council->{id_name} = $council->{short_name} ) =~ tr/+/_/;
} else {
$ward = $_;
- $ward->{short_name} = Page::short_name( $ward );
+ $ward->{short_name} = $c->cobrand->short_name( $ward );
( $ward->{id_name} = $ward->{short_name} ) =~ tr/+/_/;
}
}