diff options
author | INOPIAE <inopiae@cacert.org> | 2013-04-30 23:52:47 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-04-30 23:52:47 +0200 |
commit | 1f1d532b4da4d74e0139ab4ffa62cb51a48100da (patch) | |
tree | 01dc31764c6ea70b3ed07c3b6319657e9c53b00a /includes | |
parent | 5402ad7642343acc5c63f46c8d1ad9b54e95cd17 (diff) | |
download | cacert-devel-1f1d532b4da4d74e0139ab4ffa62cb51a48100da.tar.gz cacert-devel-1f1d532b4da4d74e0139ab4ffa62cb51a48100da.tar.xz cacert-devel-1f1d532b4da4d74e0139ab4ffa62cb51a48100da.zip |
bug 983: adjust preg_match to !==
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 fb53a8e..23a48f4 100644 --- a/includes/account.php +++ b/includes/account.php @@ -2847,7 +2847,7 @@ showfooter(); exit; } - if ( 1 === preg_match_all('/^[a-z]\d{8}\.\d+\.\d+$/',trim($_REQUEST['arbitrationno'])) ) { + 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(); |