summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-07-23 02:51:19 +0200
committerkiko%async.com.br <>2004-07-23 02:51:19 +0200
commit298c100d94e443e42ae2225ff8e0083b43e48935 (patch)
treee7f387c4b267b5765153e20adbe89f77c93e4d0e /Bugzilla
parent28fa2f54b2c400ff2067a7e76f1af5f7d361908b (diff)
downloadbugzilla-298c100d94e443e42ae2225ff8e0083b43e48935.tar.gz
bugzilla-298c100d94e443e42ae2225ff8e0083b43e48935.tar.xz
Using "abort" instead of 1 to make the unlock_tables request consistent
with the rest of Bugzilla.
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm2
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");
}
}