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

berdir’s picture

Not 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

berdir’s picture

Status: Needs review » Needs work
buzzman’s picture

any updates on this plz ... bump.

berdir’s picture

Status: Needs work » Postponed (maintainer needs more info)

Still waiting for more details...

berdir’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Still no idea what the issue started meant, closing this issue.