summaryrefslogtreecommitdiff
path: root/modules/user/user.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.api.php')
-rw-r--r--modules/user/user.api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.api.php b/modules/user/user.api.php
index e7e69c7ae..6f818688d 100644
--- a/modules/user/user.api.php
+++ b/modules/user/user.api.php
@@ -345,7 +345,7 @@ function hook_user_view($account, $view_mode) {
*
* @see user_view()
*/
-function hook_user_view_alter($build) {
+function hook_user_view_alter(&$build) {
// Check for the existence of a field added by another module.
if (isset($build['an_additional_field'])) {
// Change its weight.