BasketsController: fix hasSearch-related error

This commit is contained in:
Thomas Gelf 2019-09-12 00:09:55 +02:00
parent 961c089170
commit 83907eb8fa
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ class BasketsController extends ActionController
))); )));
$table = (new BasketTable($this->db())) $table = (new BasketTable($this->db()))
->setAttribute('data-base-target', '_self'); ->setAttribute('data-base-target', '_self');
if ($table->hasSearch() || count($table)) { // TODO: temporarily disabled, this was a thing in dipl
if (/*$table->hasSearch() || */count($table)) {
$table->renderTo($this); $table->renderTo($this);
} }
} }