diff --git a/modules/monitoring/application/views/scripts/list/comments.phtml b/modules/monitoring/application/views/scripts/list/comments.phtml index ad104e156..0801a7e4d 100644 --- a/modules/monitoring/application/views/scripts/list/comments.phtml +++ b/modules/monitoring/application/views/scripts/list/comments.phtml @@ -31,7 +31,8 @@ 'partials/comment/comment-detail.phtml', array( 'comment' => $comment, - 'delCommentForm' => $delCommentForm // Form is unset if the current user lacks the respective permission + 'delCommentForm' => isset($delCommentForm) ? $delCommentForm : null + // Form is unset if the current user lacks the respective permission )) ?>