diff --git a/core/modules/user/user.pages.inc b/core/modules/user/user.pages.inc index 895f84c..87b5d8b 100644 --- a/core/modules/user/user.pages.inc +++ b/core/modules/user/user.pages.inc @@ -23,7 +23,7 @@ * - attributes: HTML attributes for the containing element. */ function template_preprocess_user(&$variables) { - $account = $variables['elements']['#user']; + $variables['account'] = $variables['elements']['#user']; // Helpful $content variable for templates. foreach (Element::children($variables['elements']) as $key) {