Using "abort" instead of 1 to make the unlock_tables request consistent

with the rest of Bugzilla.
This commit is contained in:
kiko%async.com.br 2004-07-22 17:51:19 +00:00
Родитель 0e83d69da2
Коммит 86be7fa683
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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");
}
}