Commit 298c100d authored by kiko%async.com.br's avatar kiko%async.com.br

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

with the rest of Bugzilla.
parent 28fa2f54
......@@ -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");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment