diff options
author | bbaetz%student.usyd.edu.au <> | 2002-03-31 10:39:11 +0000 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-03-31 10:39:11 +0000 |
commit | 4b366f54be11045f74310f2170cd199e4df92209 (patch) | |
tree | 1a6f6a3f2dcf253e41553a3f2b777d46fdeed3eb /checksetup.pl | |
parent | Bug 133862 - bugzilla index page doesn't focus text field (diff) | |
download | bugzilla-4b366f54be11045f74310f2170cd199e4df92209.tar.gz bugzilla-4b366f54be11045f74310f2170cd199e4df92209.tar.bz2 bugzilla-4b366f54be11045f74310f2170cd199e4df92209.zip |
Bug 133210 - typo in checksetup; uses $::params instead of $::param
Patch by zeroJ@null.net (John Vandenberg), r=bbaetz, zach
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 6 |
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 \'@\', |