summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Lee <seannerd@users.sourceforge.net>2006-03-17 05:45:54 +0000
committerSean Lee <seannerd@users.sourceforge.net>2006-03-17 05:45:54 +0000
commit164f669f2058a1d06ed02d8f9ddaa3154019c940 (patch)
treeb8f5e4116281ef620720a59c8611ddf6dd3afc60
parent441ac0c2c4cb32b24c8e20fc065e0f85e4bb9b3e (diff)
downloadsearch-164f669f2058a1d06ed02d8f9ddaa3154019c940.tar.gz
search-164f669f2058a1d06ed02d8f9ddaa3154019c940.tar.bz2
search-164f669f2058a1d06ed02d8f9ddaa3154019c940.zip
Added a set of parens to fix-up the refresh_index function.
-rw-r--r--refresh_functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/refresh_functions.php b/refresh_functions.php
index d8a071d..1521fdb 100644
--- a/refresh_functions.php
+++ b/refresh_functions.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_search/refresh_functions.php,v 1.25 2006/03/01 20:16:28 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_search/refresh_functions.php,v 1.26 2006/03/17 05:45:54 seannerd Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: refresh_functions.php,v 1.25 2006/03/01 20:16:28 spiderr Exp $
+ * $Id: refresh_functions.php,v 1.26 2006/03/17 05:45:54 seannerd Exp $
* @author Luis Argerich (lrargerich@yahoo.com)
* @package search
* @subpackage functions
@@ -62,7 +62,7 @@ function random_refresh_index($pContentType = "") {
function refresh_index( $pContentObject = null ) {
global $gBitSystem;
if (is_object($pContentObject)) {
- if (!isset($pContentObject->mInfo["index_data"]) and method_exists($pContentObject, 'setIndexData')) {
+ if ( (!isset($pContentObject->mInfo["index_data"])) and method_exists($pContentObject, 'setIndexData')) {
$pContentObject->setIndexData() ;
}
if (isset($pContentObject->mInfo["index_data"]) and isset($pContentObject->mContentId)) {