From e9ca98b69d45b935fe4963a345cba92a87164ddb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 1 Jul 2009 20:39:20 +0000 Subject: - Patch #504678 by catch: use objects instead of arrays. --- modules/search/search.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/search/search.module') 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); } /** -- cgit v1.2.3