diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-25 15:02:11 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-25 15:02:11 +0000 |
commit | 6cf4f6b1ce0ade0b6a54f7af21f9f666bb4d06e6 (patch) | |
tree | c55b752af514d1aa68de865b46cf6acedf5e695f /modules | |
parent | cd517f16e9f8884fc811d54f546878c09fdc1791 (diff) | |
download | brdo-6cf4f6b1ce0ade0b6a54f7af21f9f666bb4d06e6.tar.gz brdo-6cf4f6b1ce0ade0b6a54f7af21f9f666bb4d06e6.tar.bz2 |
#177829 by jjeff: search indexing did not invoke the nodeapi alter hook, so what the user seen and what was indexed was different
Diffstat (limited to 'modules')
-rw-r--r-- | modules/node/node.module | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 93e654753..ca0e34afe 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1638,6 +1638,9 @@ function node_update_index() { $node->build_mode = NODE_BUILD_SEARCH_INDEX; $node = node_build_content($node, FALSE, FALSE); $node->body = drupal_render($node->content); + + // Allow modules to modify the fully-built node. + node_invoke_nodeapi($node, 'alter'); $text = '<h1>'. check_plain($node->title) .'</h1>'. $node->body; |