From eeae26b227b4b4fdf44f0242a003edf7cc7c7c46 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 16 Feb 2006 15:29:46 +0000 Subject: - Patch #49132 by Tobias and Zen: fixed problem with profile fields being mangled. --- modules/user/user.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/user') diff --git a/modules/user/user.module b/modules/user/user.module index 9558b7c3e..b641e81bc 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -642,22 +642,22 @@ function theme_user_picture($account) { * @ingroup themeable */ function theme_user_profile($account, $fields) { - $output = "
\n"; + $output = '
'; $output .= theme('user_picture', $account); foreach ($fields as $category => $items) { if (strlen($category) > 0) { - $output .= '

'. $category ."

\n"; + $output .= '

'. $category .'

'; } $output .= '
'; foreach ($items as $item) { if (isset($item['title'])) { - $output .= '
'. $item['title'] .':
'; + $output .= '
'. $item['title'] .'
'; } $output .= '
'. $item['value'] .'
'; } $output .= '
'; } - $output .= "
\n"; + $output .= '
'; return $output; } -- cgit v1.2.3