From 59ac7944f737d8614bc8b9c1a1f07bcb37355549 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" Date: Sat, 19 Jun 2004 08:15:26 +0000 Subject: [PATCH] Patch for bug 246778: ThrowUserError shouldn't cause internal error with timetracking; patch by Marc Schumann ; r=kiko; a=justdave. --- webtools/bugzilla/globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/bugzilla/globals.pl b/webtools/bugzilla/globals.pl index 7c1c9eb9379..a2172a998e0 100644 --- a/webtools/bugzilla/globals.pl +++ b/webtools/bugzilla/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 };