summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchecksetup.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 5e9006ba3..30ed3cc6e 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1621,9 +1621,9 @@ if ($sth->rows == 0) {
if (-e "data/params") {
require "data/params"; # if they have a params file, use that
}
- if ($::params{emailregexp}) {
- $mailcheckexp = $::params{emailregexp};
- $mailcheck = $::params{emailregexpdesc};
+ if ($::param{emailregexp}) {
+ $mailcheckexp = $::param{emailregexp};
+ $mailcheck = $::param{emailregexpdesc};
} else {
$mailcheckexp = '^[^@]+@[^@]+\\.[^@]+$';
$mailcheck = 'A legal address must contain exactly one \'@\',