From 298c100d94e443e42ae2225ff8e0083b43e48935 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Fri, 23 Jul 2004 00:51:19 +0000 Subject: Using "abort" instead of 1 to make the unlock_tables request consistent with the rest of Bugzilla. --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index a09e7a906..fa759ddb7 100755 --- a/Bugzilla/Bug.pm +++ b/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"); } } -- cgit v1.2.3-24-g4f1b