From 2fe4546ebf384cb815406aebc3e2b82aef190493 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" Date: Thu, 22 Jul 2004 17:51:19 +0000 Subject: [PATCH] Using "abort" instead of 1 to make the unlock_tables request consistent with the rest of Bugzilla. --- webtools/bugzilla/Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/bugzilla/Bugzilla/Bug.pm b/webtools/bugzilla/Bugzilla/Bug.pm index a09e7a9066b..fa759ddb7cf 100644 --- a/webtools/bugzilla/Bugzilla/Bug.pm +++ b/webtools/bugzilla/Bugzilla/Bug.pm @@ -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"); } }