summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-09 07:36:15 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-09 07:36:15 +0000
commit962a7783d32e5e63ced1298136251ebd840ef768 (patch)
treead3b07e8a64437fc699ac1aaed091a9807269835 /modules/user/user.module
parentc591f4562df55d7c656e201b17c6ce6f84d22926 (diff)
downloadbrdo-962a7783d32e5e63ced1298136251ebd840ef768.tar.gz
brdo-962a7783d32e5e63ced1298136251ebd840ef768.tar.bz2
#371327 by quicksketch: Fix user picture rendering (with fixed tests).
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index b430121d4..bee3dfb78 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -767,7 +767,7 @@ function user_elements() {
*/
function user_user_view(&$edit, &$account, $category = NULL) {
$account->content['user_picture'] = array(
- '#value' => theme('user_picture', $account),
+ '#markup' => theme('user_picture', $account),
'#weight' => -10,
);
if (!isset($account->content['summary'])) {