diff options
Diffstat (limited to 'modules/search/search.module')
-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 63542657a..07c369366 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -714,7 +714,7 @@ function search_touch_node($nid) { /** * Implement hook_node_update_index(). */ -function search_node_update_index($node) { +function search_node_update_index(stdClass $node) { // Transplant links to a node into the target node. $result = db_query("SELECT caption FROM {search_node_links} WHERE nid = :nid", array(':nid' => $node->nid)); $output = array(); @@ -729,7 +729,7 @@ function search_node_update_index($node) { /** * Implement hook_node_update(). */ -function search_node_update($node) { +function search_node_update(stdClass $node) { // Reindex the node when it is updated. The node is automatically indexed // when it is added, simply by being added to the node table. search_touch_node($node->nid); |