aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-03-31 10:39:11 +0000
committerbbaetz%student.usyd.edu.au <>2002-03-31 10:39:11 +0000
commit4b366f54be11045f74310f2170cd199e4df92209 (patch)
tree1a6f6a3f2dcf253e41553a3f2b777d46fdeed3eb /checksetup.pl
parentBug 133862 - bugzilla index page doesn't focus text field (diff)
downloadbugzilla-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-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 \'@\',