diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-01 17:30:55 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-01 17:30:55 +0000 |
commit | 84c6d225e8f3579fe7f9e128cf7a21453dee66c0 (patch) | |
tree | 4ef02860442ec0b13f921844425d56eb110aceec | |
parent | 641fdad0b588595aae7d96189b4cedd633c0c29a (diff) | |
download | brdo-84c6d225e8f3579fe7f9e128cf7a21453dee66c0.tar.gz brdo-84c6d225e8f3579fe7f9e128cf7a21453dee66c0.tar.bz2 |
#205199 by David_Rothstein: leftover links were not removed in the reindexing process properly (search module)
-rw-r--r-- | modules/search/search.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index 4f0e7376c..f1636106c 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -602,7 +602,7 @@ function search_index($sid, $type, $text) { } } // Any left-over links in $links no longer exist. Delete them and mark the nodes for reindexing. - foreach ($links as $nid) { + foreach ($links as $nid => $caption) { db_query("DELETE FROM {search_node_links} WHERE sid = %d AND type = '%s' AND nid = %d", $sid, $type, $nid); search_touch_node($nid); } |