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/node/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 64a324bac..5d5c0c12c 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1203,7 +1203,7 @@ function node_build_content($node, $build_mode = 'full') { $node->content['links']['node'] = array( '#theme' => 'links', '#links' => $links, - '#attributes' => array('class' => 'links inline'), + '#attributes' => array('class' => array('links', 'inline')), ); // Allow modules to make their own additions to the node. @@ -2116,7 +2116,7 @@ function node_form_search_form_alter(&$form, $form_state) { '#title' => t('Advanced search'), '#collapsible' => TRUE, '#collapsed' => TRUE, - '#attributes' => array('class' => 'search-advanced'), + '#attributes' => array('class' => array('search-advanced')), ); $form['advanced']['keywords'] = array( '#prefix' => '
', -- cgit v1.2.3