From 83907eb8faf5740f23550abd6e6859e831c971c3 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 12 Sep 2019 00:09:55 +0200 Subject: [PATCH] BasketsController: fix hasSearch-related error --- application/controllers/BasketsController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/BasketsController.php b/application/controllers/BasketsController.php index 7d13fee8..6b50b627 100644 --- a/application/controllers/BasketsController.php +++ b/application/controllers/BasketsController.php @@ -45,7 +45,8 @@ class BasketsController extends ActionController ))); $table = (new BasketTable($this->db())) ->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); } }