diff options
author | INOPIAE <inopiae@cacert.org> | 2013-04-30 23:25:27 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-04-30 23:25:27 +0200 |
commit | c1171d88ba9a4183edf2d2bdc665b99fad3b6afb (patch) | |
tree | f14eeea17e64da4b6b27c01c58336bda657241f0 /includes | |
parent | e05ca1fd4ba7a1bc19f452ba668502ac086170c6 (diff) | |
download | cacert-devel-c1171d88ba9a4183edf2d2bdc665b99fad3b6afb.tar.gz cacert-devel-c1171d88ba9a4183edf2d2bdc665b99fad3b6afb.tar.xz cacert-devel-c1171d88ba9a4183edf2d2bdc665b99fad3b6afb.zip |
bug 893: changed preg_match
Diffstat (limited to 'includes')
-rw-r--r-- | includes/account.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php index ee63c73..fb53a8e 100644 --- a/includes/account.php +++ b/includes/account.php @@ -2847,7 +2847,7 @@ showfooter(); exit; } - if (preg_match('/^\w\d{8}\.\d+\.\d+$/',trim($_REQUEST['arbitrationno']))==false){ + if ( 1 === preg_match_all('/^[a-z]\d{8}\.\d+\.\d+$/',trim($_REQUEST['arbitrationno'])) ) { showheader(_("My CAcert.org Account!")); echo _("You did not enter an arbitration number entry."); showfooter(); |