summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-06-19 17:15:26 +0200
committerjocuri%softhome.net <>2004-06-19 17:15:26 +0200
commit59de2bcc9316bde5addd8836a77deb5b26c36592 (patch)
treeaf3b575c39c20c2a99be8b7b8b6405af0a194bfe /globals.pl
parentf67f57a7b01c0284dffbd90c93d8bc079266389b (diff)
downloadbugzilla-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.
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl2
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 };