Minor fix

parent d120b303
...@@ -1003,7 +1003,7 @@ sub add_comment { ...@@ -1003,7 +1003,7 @@ sub add_comment {
# Append comment # Append comment
$bug->add_comment($comment, $bug->add_comment($comment,
{isprivate => $params->{is_private}, work_time => $params->{work_time}, productive_time => $params->{productive_time}); {isprivate => $params->{is_private}, work_time => $params->{work_time}, productive_time => $params->{productive_time}});
$bug->update(); $bug->update();
my $new_comment_id = $bug->{added_comments}[0]->id; my $new_comment_id = $bug->{added_comments}[0]->id;
......
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