diff options
Diffstat (limited to 'includes/search/SearchPostgres.php')
-rw-r--r-- | includes/search/SearchPostgres.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/search/SearchPostgres.php b/includes/search/SearchPostgres.php index 59b0c31c..bda10b0b 100644 --- a/includes/search/SearchPostgres.php +++ b/includes/search/SearchPostgres.php @@ -85,7 +85,7 @@ class SearchPostgres extends SearchDatabase { if ( strtolower( $terms[2] ) === 'and' ) { $searchstring .= ' & '; } - elseif ( strtolower( $terms[2] ) === 'or' or $terms[2] === '|' ) { + elseif ( strtolower( $terms[2] ) === 'or' || $terms[2] === '|' ) { $searchstring .= ' | '; } elseif ( strtolower( $terms[2] ) === 'not' ) { |