From 36ec18969549ff173b45ae35577e035c2c19f641 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 22 Aug 2009 14:34:23 +0000 Subject: #326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string. --- modules/blog/blog.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 9ca7ff9af..1c43261a1 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -28,7 +28,7 @@ function blog_user_view($account) { '#type' => 'user_profile_item', '#title' => t('Blog'), '#markup' => l(t('View recent blog entries'), "blog/$account->uid", array('attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => $account->name))))), - '#attributes' => array('class' => 'blog'), + '#attributes' => array('class' => array('blog')), ); } } @@ -79,7 +79,7 @@ function blog_node_view($node, $build_mode = 'full') { $node->content['links']['blog'] = array( '#theme' => 'links', '#links' => $links, - '#attributes' => array('class' => 'links inline'), + '#attributes' => array('class' => array('links', 'inline')), ); } } -- cgit v1.2.3