aboutsummaryrefslogtreecommitdiffstats
path: root/web/alert.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'web/alert.cgi')
-rwxr-xr-xweb/alert.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/alert.cgi b/web/alert.cgi
index 5a7aef1fc..108a02683 100755
--- a/web/alert.cgi
+++ b/web/alert.cgi
@@ -106,7 +106,7 @@ sub alert_list {
my $areas = mySociety::MaPit::call('point', "27700/$e,$n", type => \@types);
my $cobrand = Page::get_cobrand($q);
- my ($success, $error_msg) = Cobrand::council_check($cobrand, $areas, $q, 'alert');
+ my ($success, $error_msg) = Cobrand::council_check($cobrand, { all_councils => $areas }, $q, 'alert');
if (!$success){
return alert_front_page($q, $error_msg);
}