monitoring: Fix error when listing comments ...

... if the user has no permission to delete comments.
This commit is contained in:
Eric Lippmann 2016-01-11 09:47:47 +01:00
parent b1049f2aed
commit fda7ff902a
1 changed files with 2 additions and 1 deletions

View File

@ -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>