In form theming function you render each checkboxes option separately into table. After that all $form['threads'] child items are processed --> but the main $form['threads'] (#type => checkboxes) is not. And we get empty
element.
You need to modify theming function theme_privatemsg_list (line 295):
from
$form['list'] = array('#value' => theme('table', $headers, $themed_rows, array('class' => 'privatemsg-list')), '#weight' => 5);
to smth like that
$form['threads']['#children'] = theme('table', $headers, $themed_rows, array('class' => 'privatemsg-list'));
Comments
Comment #1
berdirNot sure what you exactly mean (the code is obvious, but do you mean with "empty element"? I can't see a visual issue and the /messages page is valid XHTML.
Also, please create a patch. See http://drupal.org/patch/create
Comment #2
berdirComment #3
buzzman commentedany updates on this plz ... bump.
Comment #4
berdirStill waiting for more details...
Comment #5
berdirStill no idea what the issue started meant, closing this issue.