Forum Replies Created

Viewing 1 replies (of 1 total)
  • @elivnjak’s solution is ok. But I would recommend to dig a little bit deeper and see why there is an empty parenthesis. Then we see that the method se_search_default is causing the issue by opening and closing a parenthesis also if the $terms array is empty (Lines 304-319). So why not return just an empty string in that case from line 302:

    if (empty($terms)) return '';

Viewing 1 replies (of 1 total)