]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Using "abort" instead of 1 to make the unlock_tables request consistent
authorkiko%async.com.br <>
Fri, 23 Jul 2004 00:51:19 +0000 (00:51 +0000)
committerkiko%async.com.br <>
Fri, 23 Jul 2004 00:51:19 +0000 (00:51 +0000)
with the rest of Bugzilla.

Bugzilla/Bug.pm

index a09e7a9066bb42cacb64ecba48be26aaf080913f..fa759ddb7cf7e86b4c39cea4bb6144d3b49895c9 100755 (executable)
@@ -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");
     }
  }