From 59de2bcc9316bde5addd8836a77deb5b26c36592 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sat, 19 Jun 2004 15:15:26 +0000 Subject: Patch for bug 246778: ThrowUserError shouldn't cause internal error with timetracking; patch by Marc Schumann ; r=kiko; a=justdave. --- globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'globals.pl') 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 }; -- cgit v1.2.3-24-g4f1b