summaryrefslogtreecommitdiff
path: root/modules/comment/comment.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-02-09 22:30:30 +0000
committerDries Buytaert <dries@buytaert.net>2010-02-09 22:30:30 +0000
commita2c946e5e96b23d806f24853cdb33e59911b1b1a (patch)
treecb95b4e434f4c386417fe9807ea3a8e841c64d10 /modules/comment/comment.api.php
parent6a9475ec27f7f92945c0852a54750027317a6559 (diff)
downloadbrdo-a2c946e5e96b23d806f24853cdb33e59911b1b1a.tar.gz
brdo-a2c946e5e96b23d806f24853cdb33e59911b1b1a.tar.bz2
- Patch #709000 by Pasqualle: fixed param in hook_x_view_alter() function passed by reference.
Diffstat (limited to 'modules/comment/comment.api.php')
-rw-r--r--modules/comment/comment.api.php2
1 files changed, 1 insertions, 1 deletions
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.