diff options
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/search.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index f6348fc0f..20545c219 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -690,9 +690,9 @@ function search_comment_delete($comment) { /** * Implement hook_comment_publish(). */ -function search_comment_publish($form_values) { +function search_comment_publish($comment) { // Reindex the node when comments are published. - search_touch_node($form_values['nid']); + search_touch_node($comment->nid); } /** |