From a2c946e5e96b23d806f24853cdb33e59911b1b1a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 9 Feb 2010 22:30:30 +0000 Subject: - Patch #709000 by Pasqualle: fixed param in hook_x_view_alter() function passed by reference. --- modules/comment/comment.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.api.php') diff --git a/modules/comment/comment.api.php b/modules/comment/comment.api.php index 0d2c17d76..c7d2f6afa 100644 --- a/modules/comment/comment.api.php +++ b/modules/comment/comment.api.php @@ -89,7 +89,7 @@ function hook_comment_view($comment) { * * @see comment_view() */ -function hook_comment_view_alter($build) { +function hook_comment_view_alter(&$build) { // Check for the existence of a field added by another module. if ($build['#view_mode'] == 'full' && isset($build['an_additional_field'])) { // Change its weight. -- cgit v1.2.3