From 370e83bb0dfd0c70de268c93bf07ad5ee0897192 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 15 Aug 2008 01:29:47 +0200 Subject: Update auf 1.13.0 --- includes/SearchOracle.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'includes/SearchOracle.php') diff --git a/includes/SearchOracle.php b/includes/SearchOracle.php index 95c59288..bf9368d1 100644 --- a/includes/SearchOracle.php +++ b/includes/SearchOracle.php @@ -17,9 +17,14 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # 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); } } - - -- cgit v1.2.3-54-g00ecf