config/files: do not fail without filterEditor

This commit is contained in:
Thomas Gelf 2017-06-15 11:38:38 +02:00
parent c4bf4cb57d
commit 5cbcf48480

View File

@ -4,7 +4,7 @@
<span class="action-links" data-base-target="_next">
<?= $this->addLink ?>
</span>
<?php if (count($table) || ! $this->filterEditor->getFilter()->isEmpty()): ?>
<?php if (count($table) || ($this->filterEditor && ! $this->filterEditor->getFilter()->isEmpty())): ?>
<?= $this->filterEditor ?>
<?php endif ?>
<?= $this->table->getPaginator() ?>