mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
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',
|
'partials/comment/comment-detail.phtml',
|
||||||
array(
|
array(
|
||||||
'comment' => $comment,
|
'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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user