- Patch #664130 by gpk: removed redundant comment.

merge-requests/26/head
Dries Buytaert 2009-12-22 15:09:37 +00:00
parent 8749a43a54
commit 77df3ae1af
1 changed files with 0 additions and 1 deletions

View File

@ -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;