#1906, click on header menu base reset search

This commit is contained in:
2022-09-13 11:26:34 +02:00
parent f919dab0e9
commit 40b7e75d44
10 changed files with 61 additions and 27 deletions

View File

@@ -95,7 +95,7 @@ class Base extends ControllerBase {
}
// in case of term id provided restrict the keys to taxo fields
if ($this->terms && count($this->terms)) {
if ($this->terms && is_array($this->terms) && count($this->terms)) {
$term_conditions = $this->and_query->createConditionGroup('OR');
// $term = (int) $this->term;
foreach ($this->terms as $term) {