summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-04-30 23:52:47 +0200
committerINOPIAE <inopiae@cacert.org>2013-04-30 23:52:47 +0200
commit1f1d532b4da4d74e0139ab4ffa62cb51a48100da (patch)
tree01dc31764c6ea70b3ed07c3b6319657e9c53b00a /includes
parent5402ad7642343acc5c63f46c8d1ad9b54e95cd17 (diff)
downloadcacert-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.php2
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();