Skip to content

Commit

Permalink
Fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-stoehr committed Oct 2, 2023
1 parent 1b9e500 commit bf9d636
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/belugax/templates/search/searchbox.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
$searchType = $this->searchType;

if ($this->lookfor == '') {
if ($_GET['lookfor']) {
if (!empty($_GET['lookfor'])) {
$this->lookfor = $_GET['lookfor'];
foreach($keywords as $identifier => $type) {
$this->lookfor = str_replace($type.":",$identifier." ",$this->lookfor);
Expand Down
2 changes: 1 addition & 1 deletion themes/belugax_hcu/templates/search/searchbox.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
$searchType = $this->searchType;

if ($this->lookfor === '') {
if ($_GET['lookfor']) {
if (!empty($_GET['lookfor'])) {
$this->lookfor = $_GET['lookfor'];
if (isset($keywords) && is_array($keywords)) {
foreach ($keywords as $identifier => $type) {
Expand Down

0 comments on commit bf9d636

Please sign in to comment.