Commit a57afb77 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 583154: If you don't comment while setting the work_time (Hours Worked)…

Bug 583154: If you don't comment while setting the work_time (Hours Worked) field, you get an empty comment in bugmails r/a=mkanat
parent 56f34b67
......@@ -127,6 +127,8 @@ sub Send {
}
my $comments = $bug->comments({ after => $start, to => $end });
# Skip empty comments.
@$comments = grep { $_->type || $_->body =~ /\S/ } @$comments;
###########################################################################
# Start of email filtering code
......
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