Commit b5d2e08a authored by alexpott's avatar alexpott
Browse files

Issue #2250015 by amitgoyal, mgifford: Fixed Improper use of a LABEL for user profile.

parent 3e34d843
......@@ -509,8 +509,7 @@ function user_user_view(array &$build, UserInterface $account, EntityViewDisplay
if ($display->getComponent('member_for')) {
$build['member_for'] = array(
'#type' => 'item',
'#title' => t('Member for'),
'#markup' => format_interval(REQUEST_TIME - $account->getCreatedTime()),
'#markup' => '<h4 class="label">' . t('Member for') . '</h4> ' . format_interval(REQUEST_TIME - $account->getCreatedTime()),
);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment