diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-22 14:34:23 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-22 14:34:23 +0000 |
commit | 36ec18969549ff173b45ae35577e035c2c19f641 (patch) | |
tree | 8a73f48534a188f946e6edf5ecad90f837ce3d84 /modules/blog | |
parent | 73a72337bb4c296211c5cb728b027ad0fefa85ed (diff) | |
download | brdo-36ec18969549ff173b45ae35577e035c2c19f641.tar.gz brdo-36ec18969549ff173b45ae35577e035c2c19f641.tar.bz2 |
#326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string.
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 4 |
1 files changed, 2 insertions, 2 deletions
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')), ); } } |