mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
Fix that the user isn't being notified that no events were found
empty() seems not work if subqueries are involved.
This commit is contained in:
parent
ea874f8402
commit
3d09615851
@ -22,7 +22,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
||||
|
||||
<div class="content">
|
||||
<?= $this->filterEditor ?>
|
||||
<?php if (empty($history)): ?>
|
||||
<?php if (count($history) === 0): ?>
|
||||
<?= $this->translate('No history events matching the filter') ?>
|
||||
</div>
|
||||
<?php return; endif ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user