summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Lee <seannerd@users.sourceforge.net>2006-02-24 23:15:16 +0000
committerSean Lee <seannerd@users.sourceforge.net>2006-02-24 23:15:16 +0000
commit3d7b3a2d750efbe8342f98c129d8d97d941de7d2 (patch)
treee97228e8dab61d76f7a58a4f29b37c5bc81299e2
parentb3cea56cf3ecfabc2651cc2631d6c4d68fda3d40 (diff)
downloadsearch-3d7b3a2d750efbe8342f98c129d8d97d941de7d2.tar.gz
search-3d7b3a2d750efbe8342f98c129d8d97d941de7d2.tar.bz2
search-3d7b3a2d750efbe8342f98c129d8d97d941de7d2.zip
Damn Missing Back-tics
-rw-r--r--refresh_functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/refresh_functions.php b/refresh_functions.php
index 59c7a33..ea721b7 100644
--- a/refresh_functions.php
+++ b/refresh_functions.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_search/refresh_functions.php,v 1.23 2006/02/24 23:14:23 seannerd Exp $
+ * $Header: /cvsroot/bitweaver/_bit_search/refresh_functions.php,v 1.24 2006/02/24 23:15:16 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.23 2006/02/24 23:14:23 seannerd Exp $
+ * $Id: refresh_functions.php,v 1.24 2006/02/24 23:15:16 seannerd Exp $
* @author Luis Argerich (lrargerich@yahoo.com)
* @package search
* @subpackage functions
@@ -169,7 +169,7 @@ function delete_index_content_type($pContentType) {
$sql = "DELETE FROM `" . BIT_DB_PREFIX . "searchindex`";
$array = array();
if ( $pContentType <> "pages" ) {
- $sql .= " WHERE `content_id` IN (SELECT content_id FROM `" . BIT_DB_PREFIX .
+ $sql .= " WHERE `content_id` IN (SELECT `content_id` FROM `" . BIT_DB_PREFIX .
"liberty_content` where `content_type_guid` = ?)";
$array = array($pContentType);
}