diff --git a/api/update_comment.php b/api/update_comment.php index f650031..e29c040 100644 --- a/api/update_comment.php +++ b/api/update_comment.php @@ -104,7 +104,10 @@ try { 'update', 'comment', (string)$commentId, - ['comment_text_preview' => substr($commentText, 0, 100)] + [ + 'ticket_id' => $comment['ticket_id'] ?? null, + 'comment_text_preview' => substr($commentText, 0, 100), + ] ); }