Bug 133210 - typo in checksetup; uses $::params instead of $::param

Patch by zeroJ@null.net (John Vandenberg), r=bbaetz, zach
parent f317e221
......@@ -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 \'@\',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment