Commit 59de2bcc authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 246778: ThrowUserError shouldn't cause internal error with…

Patch for bug 246778: ThrowUserError shouldn't cause internal error with timetracking; patch by Marc Schumann <marcschum@web.de>; r=kiko; a=justdave.
parent f67f57a7
......@@ -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 };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment