monitoring/show/history: fix html on empty list

This view script used to render broken HTML on empty result
This commit is contained in:
Thomas Gelf 2014-06-24 21:23:51 +02:00
parent f75a4430a6
commit 532ab60b36
1 changed files with 1 additions and 1 deletions

View File

@ -38,12 +38,12 @@ $states = array(
<?= $this->paginationControl($this->history, null, null, array('preserve' => $this->preserve)); ?>
</div>
<div class="content">
<?php if($this->history->count() === 0): ?>
<?= $this->translate('No History Available For This Object') ?>
</div>
<?php return; endif ?>
<div class="content">
<table data-base-target="_next" class="action objecthistory">
<tbody>