From: kiko%async.com.br <> Date: Fri, 23 Jul 2004 00:51:19 +0000 (+0000) Subject: Using "abort" instead of 1 to make the unlock_tables request consistent X-Git-Tag: bugzilla-2.19.1~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=298c100d94e443e42ae2225ff8e0083b43e48935;p=thirdparty%2Fbugzilla.git Using "abort" instead of 1 to make the unlock_tables request consistent with the rest of Bugzilla. --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index a09e7a9066..fa759ddb7c 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"); } }