- Patch #664130 by gpk: removed redundant comment.
parent
8749a43a54
commit
77df3ae1af
|
@ -561,7 +561,6 @@ function search_index($sid, $type, $text) {
|
|||
if (preg_match('!(?:node|book)/(?:view/)?([0-9]+)!i', $path, $match)) {
|
||||
$linknid = $match[1];
|
||||
if ($linknid > 0) {
|
||||
// Note: ignore links to uncacheable nodes to avoid redirect bugs.
|
||||
$node = db_query('SELECT title, nid, vid FROM {node} WHERE nid = :nid', array(':nid' => $linknid), array('target' => 'slave'))->fetchObject();
|
||||
$link = TRUE;
|
||||
$linktitle = $node->title;
|
||||
|
|
Loading…
Reference in New Issue