diff options
Diffstat (limited to 'modules/search/search.module')
-rw-r--r-- | modules/search/search.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index 46ec2baf2..5dc426210 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -664,17 +664,17 @@ function search_node_update($node) { /** * Implement hook_comment_insert(). */ -function search_comment_insert($form_values) { +function search_comment_insert($comment) { // Reindex the node when comments are added. - search_touch_node($form_values['nid']); + search_touch_node($comment->nid); } /** * Implement hook_comment_update(). */ -function search_comment_update($form_values) { +function search_comment_update($comment) { // Reindex the node when comments are changed. - search_touch_node($form_values['nid']); + search_touch_node($comment->nid); } /** |