Fix that the user isn't being notified that no events were found for an object

This commit is contained in:
Johannes Meyer 2015-04-10 09:51:08 +02:00
parent 3d7e418032
commit 8477859dc1
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ $hostContext = $object->getType() === 'host';
</div>
<div class="content">
<?php if (empty($history)): ?>
<?php if (count($history) === 0): ?>
<?= $this->translate('No history available for this object'); ?>
</div>
<?php return; endif ?>