Closed (fixed)
Project:
Diff
Version:
7.x-3.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2013 at 02:24 UTC
Updated:
25 Oct 2013 at 06:50 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | diff-1894120-3-attributes-class-should-be-array.patch | 893 bytes | alan d. |
Comments
Comment #1
michael_cristal commentedsame 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')),Comment #2
hass commentedLooks like you are not working on a patch
Comment #3
alan d. commentedThese?
Comment #4
alan d. commentedThanks for reporting. Pushed to dev.
16cd400
Comment #5
alan d. commented