diff options
| -rw-r--r-- | refresh_functions.php | 6 |
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); } |
