diff options
Diffstat (limited to 'includes/SearchOracle.php')
-rw-r--r-- | includes/SearchOracle.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/includes/SearchOracle.php b/includes/SearchOracle.php index 95c59288..bf9368d1 100644 --- a/includes/SearchOracle.php +++ b/includes/SearchOracle.php @@ -18,8 +18,13 @@ # http://www.gnu.org/copyleft/gpl.html /** + * @file + * @ingroup Search + */ + +/** * Search engine hook base class for Oracle (ConText). - * @addtogroup Search + * @ingroup Search */ class SearchOracle extends SearchEngine { function __construct($db) { @@ -70,6 +75,8 @@ class SearchOracle extends SearchEngine { * @private */ function queryNamespaces() { + if( is_null($this->namespaces) ) + return ''; $namespaces = implode(',', $this->namespaces); if ($namespaces == '') { $namespaces = '0'; @@ -208,7 +215,7 @@ class SearchOracle extends SearchEngine { } /** - * @addtogroup Search + * @ingroup Search */ class OracleSearchResultSet extends SearchResultSet { function __construct($resultSet, $terms) { @@ -231,5 +238,3 @@ class OracleSearchResultSet extends SearchResultSet { return new SearchResult($row); } } - - |