mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
search() returns false if query term causes an exception
This commit is contained in:
parent
a177b8689f
commit
488c247ca9
|
@ -77,10 +77,10 @@ class SeedDMS_Lucene_Search {
|
|||
}
|
||||
return $recs;
|
||||
} catch (Zend_Search_Lucene_Exception $e) {
|
||||
return array();
|
||||
return false;
|
||||
}
|
||||
} catch (Zend_Search_Lucene_Search_QueryParserException $e) {
|
||||
return array();
|
||||
return false;
|
||||
}
|
||||
} /* }}} */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user