Skip to content

Commit

Permalink
Fixes a parse error in #1330
Browse files Browse the repository at this point in the history
  • Loading branch information
abrookbanks committed Nov 7, 2016
1 parent 57e029c commit 07df226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/catalogue.class.php
Expand Up @@ -1679,7 +1679,7 @@ public function searchCatalogue($search_data = null, $page = 1, $per_page = 10,
return $this->searchCatalogue($original_search_data, 1, $per_page, 'RLIKE');
}
} else {
$search_mode = in_array($search_mode, array('RLIKE','LIKE')) ? $search_mode : 'RLIKE'
$search_mode = in_array($search_mode, array('RLIKE','LIKE')) ? $search_mode : 'RLIKE';
$this->_sort_by_relevance = false;
$like = '';
if (!empty($search_data['keywords'])) {
Expand Down

1 comment on commit 07df226

@mackecm2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've applied this to our store and I can confirm that it fixes #1344.

Please sign in to comment.