aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Cobrands/Barnet/Util.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-21 11:19:22 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-02-21 11:19:22 +0000
commita375628603ffe50e4a96b4eacbe8606927b970ea (patch)
tree2bfd86381ebc8fb73db3b332d7589ce21ad1a4e8 /perllib/Cobrands/Barnet/Util.pm
parent6722cb5711e23a0e801e415bb3928adf7eafaec8 (diff)
parent2ac9ea17dba28894cb3453da417a1648b026a2aa (diff)
Merge branch 'master' of ssh://matthew@git.mysociety.org/data/git/public/fixmystreet
Diffstat (limited to 'perllib/Cobrands/Barnet/Util.pm')
-rw-r--r--perllib/Cobrands/Barnet/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Cobrands/Barnet/Util.pm b/perllib/Cobrands/Barnet/Util.pm
index e0821e4ba..eb8b91649 100644
--- a/perllib/Cobrands/Barnet/Util.pm
+++ b/perllib/Cobrands/Barnet/Util.pm
@@ -79,7 +79,7 @@ sub council_check {
}
my $url = 'http://www.fixmystreet.com/';
$url .= 'alert' if $context eq 'alert';
- $url .= '?pc=' . URI::Escape::uri_escape($q->param('pc') if $q->param('pc');
+ $url .= '?pc=' . URI::Escape::uri_escape($q->param('pc')) if $q->param('pc');
my $error_msg = "That location is not covered by Barnet.
Please visit <a href=\"$url\">the main FixMyStreet site</a>.";
return (0, $error_msg);