diff options
author | Michael Scherer <misc@mageia.org> | 2011-05-05 10:14:50 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-05-05 10:14:50 +0000 |
commit | 0880d2967bb33af99ca487a346a458fd76b62463 (patch) | |
tree | 5b56b63b6f7d659284a32b17cc65a0a80b65a6f3 /lib/CatDap/Controller | |
parent | 5dcb941b766c2187611666e6939cf301ffd63281 (diff) | |
download | identity-0880d2967bb33af99ca487a346a458fd76b62463.tar identity-0880d2967bb33af99ca487a346a458fd76b62463.tar.gz identity-0880d2967bb33af99ca487a346a458fd76b62463.tar.bz2 identity-0880d2967bb33af99ca487a346a458fd76b62463.tar.xz identity-0880d2967bb33af99ca487a346a458fd76b62463.zip |
- fix regexp error, broke trunk, spotted by rda
Diffstat (limited to 'lib/CatDap/Controller')
-rw-r--r-- | lib/CatDap/Controller/register.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CatDap/Controller/register.pm b/lib/CatDap/Controller/register.pm index 4920175..1aef176 100644 --- a/lib/CatDap/Controller/register.pm +++ b/lib/CatDap/Controller/register.pm @@ -66,12 +66,12 @@ sub check : Local { push @errors, $c->loc('Username is not authorized to be used'); } - if ($c->request->params->{gn} !~ /^[\p{IsAlnum}'- ]+$/) { + if ($c->request->params->{gn} !~ /^[\p{IsAlnum}'\- ]+$/) { push @errors, $c->loc( 'The first name supplied contains illegal characters' ); } - if ($c->request->params->{sn} !~ /^[\p{IsAlnum}'- ]+$/) { + if ($c->request->params->{sn} !~ /^[\p{IsAlnum}'\- ]+$/) { push @errors, $c->loc( 'The surname supplied contains illegal characters' ); |