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/node/node.module | |
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/node/node.module')
-rw-r--r-- | modules/node/node.module | 4 |
1 files changed, 2 insertions, 2 deletions
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' => '<div class="criterion">', |