bad utilisation of 'attributes' => array('class')
Key 'class' must be an array not a string

$output .= theme('table__diff__revisions', array(
    'header' => $header,
    'rows' => $rows,
    'sticky' => FALSE,
    'attributes' => array('class' => 'diff-revisions'),
  ));

Must be an array

$output .= theme('table__diff__revisions', array(
    'header' => $header,
    'rows' => $rows,
    'sticky' => FALSE,
    'attributes' => array('class' => array('diff-revisions')),
  ));

file : diff.theme.inc
line : 63

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

michael_cristal’s picture

same issue in diff.module file
function diff_node_form_build_preview_changes($form, &$form_state)
line 433

'attributes' => array('class' => 'diff'),

must be array

'attributes' => array('class' => array('diff')),

hass’s picture

Assigned: michael_cristal » Unassigned

Looks like you are not working on a patch

Alan D.’s picture

Priority: Normal » Minor
Status: Active » Needs review
FileSize
893 bytes

These?

Alan D.’s picture

Title: bad utilisation of 'attributes' => array('class') » Use of scalar class instead of an array in attributes array.

Thanks for reporting. Pushed to dev.

16cd400

Alan D.’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.