Fix how we check whether any comments were found

fixes #7898
This commit is contained in:
Johannes Meyer 2014-12-04 09:59:28 +01:00
parent b099c28861
commit f0b470870a
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@
<?php endif ?>
<div class="content">
<?php if (empty($comments)): ?>
<?= $this->translate('No comments matching the filter') ?>
<?php if (count($comments) === 0): ?>
<?= $this->translate('No comments matching the filter'); ?>
</div>
<?php return; endif ?>