monitoring/lists: Don't render unexistant controls
Even PHP code in HTML comments will be executed. As the filter object sometimes failes, this can result in an invisible "breaking" exception. refs #6031
This commit is contained in:
parent
70ba36aad6
commit
40e45a2a39
|
@ -4,7 +4,7 @@ $helper = $this->getHelper('MonitoringState');
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<div style="margin: 1em;" class="dontprint">
|
||||
<!--<?= $this->filterBox ?>-->Sort by <?= $this->sortControl->render($this); ?>
|
||||
Sort by <?= $this->sortControl->render($this); ?>
|
||||
</div>
|
||||
|
||||
<?= $this->paginationControl($hosts, null, null, array('preserve' => $this->preserve)); ?>
|
||||
|
|
|
@ -5,7 +5,6 @@ if (!$this->compact): ?>
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<div style="margin: 1em;" class="dontprint">
|
||||
<!-- <?= $this->filterBox ?>-->
|
||||
Sort by <?= $this->sortControl ?>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue