Closed (fixed)
Project:
Webform Table Element
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2011 at 06:41 UTC
Updated:
28 Oct 2011 at 07:10 UTC
When submitting form values in Table Element and then viewing the submission, the table headers are not visible.
This is because at the function _webform_table_element_alter_submission() the headers are defined like:
$submission->data[$parent['cid']]['value'] = array('headers' => $headers, 'rows' => $rows);
even though those should be in format:
$submission->data[$parent['cid']]['value'] = array('header' => $headers, 'rows' => $rows);
(See theme_table())
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| submission-header-fix.patch | 632 bytes | isampo |
Comments
Comment #1
attiks commentedFixed in 7-dev, thanks