From 7bfb63b9fb17e320f1ace63d312d3a2499b23274 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Wed, 23 Jan 2013 17:54:23 +0000 Subject: [PATCH] Issue #1855114 by kiamlaluno: Fixed system_form_user_register_form_alter() and system_form_user_profile_form_alter() return a reference parameter they get. --- core/modules/system/system.module | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/modules/system/system.module b/core/modules/system/system.module index 17015c627607..106ef14f176b 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -2560,7 +2560,6 @@ function system_form_user_profile_form_alter(&$form, &$form_state) { if (config('system.timezone')->get('user.configurable')) { system_user_timezone($form, $form_state); } - return $form; } /** @@ -2570,7 +2569,6 @@ function system_form_user_register_form_alter(&$form, &$form_state) { $config = config('system.timezone'); if ($config->get('user.configurable') && $config->get('user.default') == DRUPAL_USER_TIMEZONE_SELECT) { system_user_timezone($form, $form_state); - return $form; } } -- GitLab