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.

CommentFileSizeAuthor
submission-header-fix.patch632 bytesisampo

Comments

attiks’s picture

Status: Needs review » Fixed

Fixed in 7-dev, thanks

Status: Fixed » Closed (fixed)

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