summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-03-31 12:39:11 +0200
committerbbaetz%student.usyd.edu.au <>2002-03-31 12:39:11 +0200
commit4b366f54be11045f74310f2170cd199e4df92209 (patch)
tree1a6f6a3f2dcf253e41553a3f2b777d46fdeed3eb /checksetup.pl
parentf317e22165e186f5cd49687fe834df2fc8db65f8 (diff)
downloadbugzilla-4b366f54be11045f74310f2170cd199e4df92209.tar.gz
bugzilla-4b366f54be11045f74310f2170cd199e4df92209.tar.xz
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-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 \'@\',