diff options
author | jocuri%softhome.net <> | 2004-06-19 17:15:26 +0200 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-06-19 17:15:26 +0200 |
commit | 59de2bcc9316bde5addd8836a77deb5b26c36592 (patch) | |
tree | af3b575c39c20c2a99be8b7b8b6405af0a194bfe | |
parent | f67f57a7b01c0284dffbd90c93d8bc079266389b (diff) | |
download | bugzilla-59de2bcc9316bde5addd8836a77deb5b26c36592.tar.gz bugzilla-59de2bcc9316bde5addd8836a77deb5b26c36592.tar.xz |
Patch for bug 246778: ThrowUserError shouldn't cause internal error with timetracking; patch by Marc Schumann <marcschum@web.de>; r=kiko; a=justdave.
-rw-r--r-- | globals.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl index 7c1c9eb93..a2172a998 100644 --- a/globals.pl +++ b/globals.pl @@ -128,7 +128,7 @@ sub AppendComment { # regexp verifies one or more digits, optionally followed by a period and # zero or more digits, OR we have a period followed by one or more digits if ($work_time !~ /^-?(?:\d+(?:\.\d*)?|\.\d+)$/) { - ThrowUserError("need_numeric_value"); + ThrowUserError("need_numeric_value", {}, "abort"); } } else { $work_time = 0 }; |