From: bbaetz%student.usyd.edu.au <> Date: Sun, 31 Mar 2002 10:39:11 +0000 (+0000) Subject: Bug 133210 - typo in checksetup; uses $::params instead of $::param X-Git-Tag: bugzilla-2.16rc1~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b366f54be11045f74310f2170cd199e4df92209;p=thirdparty%2Fbugzilla.git Bug 133210 - typo in checksetup; uses $::params instead of $::param Patch by zeroJ@null.net (John Vandenberg), r=bbaetz, zach --- diff --git a/checksetup.pl b/checksetup.pl index 5e9006ba3c..30ed3cc6e6 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 \'@\',