monitoring: Fix missing load more link when there's a single row

This commit is contained in:
Johannes Meyer 2019-10-08 13:36:35 +02:00
parent 2979ad1da0
commit 8ec0c40f21
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ foreach ($pivotData as $serviceDescription => $_) {
'data-base-target' => '_self'
)
) ?>
<?= ++$i === (int) (count($pivotHeader['rows']) / 2) ? $expandLink : '' ?>
<?= ++$i === (int) ceil(count($pivotHeader['rows']) / 2) ? $expandLink : '' ?>
</td>
<?php endif ?>
</tr>