зеркало из https://github.com/mozilla/pjs.git
Using "abort" instead of 1 to make the unlock_tables request consistent
with the rest of Bugzilla.
This commit is contained in:
Родитель
489b01831c
Коммит
2fe4546ebf
|
@ -493,7 +493,7 @@ sub EmitDependList {
|
|||
sub ValidateTime{
|
||||
my ($time, $field) = @_;
|
||||
if ($time > 99999.99 || $time < 0 || !($time =~ /^(?:\d+(?:\.\d*)?|\.\d+)$/)){
|
||||
ThrowUserError("need_positive_number", {field => "$field"}, 1);
|
||||
ThrowUserError("need_positive_number", {field => "$field"}, "abort");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче