summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 1f0034ff7..40bf3af2e 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -2679,7 +2679,7 @@ sub add_comment {
# This makes it so we won't create new comments when there is nothing
# to add
- if ($comment eq '' && !($params->{type} || abs($params->{work_time}))) {
+ if ($comment eq '' && !($params->{type} || abs($params->{work_time} || 0))) {
return;
}