зеркало из https://github.com/mozilla/pjs.git
Bug 133210 - typo in checksetup; uses $::params instead of $::param
Patch by zeroJ@null.net (John Vandenberg), r=bbaetz, zach
This commit is contained in:
Родитель
662e182b20
Коммит
f95a721f8f
|
@ -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 \'@\',
|
||||
|
|
Загрузка…
Ссылка в новой задаче