diff options
Diffstat (limited to 'includes/SearchPostgres.php')
-rw-r--r-- | includes/SearchPostgres.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/SearchPostgres.php b/includes/SearchPostgres.php index 7c3580e7..cf9e6981 100644 --- a/includes/SearchPostgres.php +++ b/includes/SearchPostgres.php @@ -64,6 +64,7 @@ class SearchPostgres extends SearchEngine { $term = preg_replace('/:/', ' ', $term); $searchstring = ''; + $m = array(); if( preg_match_all('/([-!]?)(\S+)\s*/', $term, $m, PREG_SET_ORDER ) ) { foreach( $m as $terms ) { if (strlen($terms[1])) { @@ -232,4 +233,4 @@ class PostgresSearchResultSet extends SearchResultSet { } -?> + |