monitoring: Fix error when listing comments ...
... if the user has no permission to delete comments.
This commit is contained in:
parent
b1049f2aed
commit
fda7ff902a
|
@ -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
|
||||
)) ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue