summaryrefslogtreecommitdiff
path: root/modules/search/search.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-16 16:06:04 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-16 16:06:04 +0000
commit856f66774597f3acac5549203cac6441ef5f8fd5 (patch)
tree7746e8e0cd9fceea4916771c128a582e9f617a45 /modules/search/search.module
parent47413f64604422556a32b4aa6594a659101413ff (diff)
downloadbrdo-856f66774597f3acac5549203cac6441ef5f8fd5.tar.gz
brdo-856f66774597f3acac5549203cac6441ef5f8fd5.tar.bz2
- Patch #355360 by burningdog, spatz4000, netaustin: standardize on 'cacheable'.
Diffstat (limited to 'modules/search/search.module')
-rw-r--r--modules/search/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 8973c6cc9..d5360115e 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -509,7 +509,7 @@ 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 uncachable nodes to avoid redirect bugs.
+ // Note: ignore links to uncacheable nodes to avoid redirect bugs.
$node = db_fetch_object(db_query('SELECT n.title, n.nid, n.vid, r.format FROM {node} n INNER JOIN {node_revision} r ON n.vid = r.vid WHERE n.nid = %d', $linknid));
if (filter_format_allowcache($node->format)) {
$link = TRUE;