diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-07-18 13:48:16 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-07-18 13:48:16 +0100 |
commit | 9cb7aa2ab8b12fcd7ecce3624e807925e01aa891 (patch) | |
tree | 9ed4bc5f2ad4e07ab5957575e72d9406d3da2d83 | |
parent | f9f77971bb5ec17752b571da3b08793c4ac91ece (diff) |
Update contact form error message.
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Contact.pm | 2 |
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.') |