From 57fe5103daf5db65cd43f309e0f22f5c4781605d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 16 Jul 2008 21:59:29 +0000 Subject: - Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. --- modules/blog/blog.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 25b552033..757196366 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -49,7 +49,7 @@ function blog_user($type, &$edit, &$user) { $user->content['summary']['blog'] = array( '#type' => 'user_profile_item', '#title' => t('Blog'), - '#value' => l(t('View recent blog entries'), "blog/$user->uid", array('attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => $user->name))))), + '#markup' => l(t('View recent blog entries'), "blog/$user->uid", array('attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => $user->name))))), '#attributes' => array('class' => 'blog'), ); } -- cgit v1.2.3