diff options
author | kiko%async.com.br <> | 2004-07-23 02:51:19 +0200 |
---|---|---|
committer | kiko%async.com.br <> | 2004-07-23 02:51:19 +0200 |
commit | 298c100d94e443e42ae2225ff8e0083b43e48935 (patch) | |
tree | e7f387c4b267b5765153e20adbe89f77c93e4d0e | |
parent | 28fa2f54b2c400ff2067a7e76f1af5f7d361908b (diff) | |
download | bugzilla-298c100d94e443e42ae2225ff8e0083b43e48935.tar.gz bugzilla-298c100d94e443e42ae2225ff8e0083b43e48935.tar.xz |
Using "abort" instead of 1 to make the unlock_tables request consistent
with the rest of Bugzilla.
-rwxr-xr-x | Bugzilla/Bug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } } |