summaryrefslogtreecommitdiff
path: root/includes/SearchOracle.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-08-15 01:29:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2008-08-15 01:29:47 +0200
commit370e83bb0dfd0c70de268c93bf07ad5ee0897192 (patch)
tree491674f4c242e4d6ba0d04eafa305174c35a3391 /includes/SearchOracle.php
parentf4debf0f12d0524d2b2427c55ea3f16b680fad97 (diff)
Update auf 1.13.0
Diffstat (limited to 'includes/SearchOracle.php')
-rw-r--r--includes/SearchOracle.php13
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);
}
}
-
-