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) { ...@@ -1621,9 +1621,9 @@ if ($sth->rows == 0) {
if (-e "data/params") { if (-e "data/params") {
require "data/params"; # if they have a params file, use that require "data/params"; # if they have a params file, use that
} }
if ($::params{emailregexp}) { if ($::param{emailregexp}) {
$mailcheckexp = $::params{emailregexp}; $mailcheckexp = $::param{emailregexp};
$mailcheck = $::params{emailregexpdesc}; $mailcheck = $::param{emailregexpdesc};
} else { } else {
$mailcheckexp = '^[^@]+@[^@]+\\.[^@]+$'; $mailcheckexp = '^[^@]+@[^@]+\\.[^@]+$';
$mailcheck = 'A legal address must contain exactly one \'@\', $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