aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-11-12 10:47:57 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-11-12 13:29:39 +0000
commit4e3dfe356c45f6c5361b5480de233f51339af668 (patch)
tree0ccaae14cf9598554f544633d94a0ddafa9e4e9c /perllib
parent5e0b1df35374b71e7c921188956c4a1f7801f50d (diff)
Version 1.3.v1.3
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index ab6e9ea1f..64b38d99f 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -976,7 +976,7 @@ sub user_add : Path('user_edit') : Args(0) {
$c->forward('check_token');
if ( $c->cobrand->moniker eq 'zurich' and $c->req->param('email') eq '' ) {
- $c->stash->{field_errors}->{email} = _('The email field is required');
+ $c->stash->{field_errors}->{email} = _('Please enter a valid email');
return 1;
}
@@ -1029,7 +1029,7 @@ sub user_edit : Path('user_edit') : Args(1) {
$user->flagged( $c->req->param('flagged') || 0 );
if ( $c->cobrand->moniker eq 'zurich' and $user->email eq '' ) {
- $c->stash->{field_errors}->{email} = _('The email field is required');
+ $c->stash->{field_errors}->{email} = _('Please enter a valid email');
return 1;
}
$user->update;