summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 14d6c4ce7..2fa74dbfd 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -154,7 +154,7 @@ if (defined $cgi->param('work_time')
if (Bugzilla->user->in_group(Bugzilla->params->{'timetrackinggroup'})) {
my $wk_time = $cgi->param('work_time');
- if ($cgi->param('comment') =~ /^\s*$/ && $wk_time && $wk_time != 0) {
+ if (!comment_exists() && $wk_time && $wk_time != 0) {
ThrowUserError('comment_required');
}
}