aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-07-18 13:48:16 +0100
committerMatthew Somerville <matthew@mysociety.org>2013-07-18 13:48:16 +0100
commit9cb7aa2ab8b12fcd7ecce3624e807925e01aa891 (patch)
tree9ed4bc5f2ad4e07ab5957575e72d9406d3da2d83 /perllib
parentf9f77971bb5ec17752b571da3b08793c4ac91ece (diff)
Update contact form error message.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/App/Controller/Contact.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Contact.pm b/perllib/FixMyStreet/App/Controller/Contact.pm
index 04360301e..3fcb449d2 100644
--- a/perllib/FixMyStreet/App/Controller/Contact.pm
+++ b/perllib/FixMyStreet/App/Controller/Contact.pm
@@ -114,7 +114,7 @@ sub validate : Private {
&& $c->req->param('update_id') !~ /^[1-9]\d*$/;
push @errors, _('There was a problem showing this page. Please try again later.')
- if $c->req->params->{message} && $c->req->params->{message} =~ /\[url=/;
+ if $c->req->params->{message} && $c->req->params->{message} =~ /\[url=|<a/;
unshift @errors,
_('There were problems with your report. Please see below.')