theme_table() contains the following comment:
// HTML requires that the thead tag has tr tags in it follwed by tbody
// tags. Using ternary operator to check and see if we have any rows.
See follwed
.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 656078-D6.patch | 751 bytes | jhodgdon |
Comments
Comment #1
jhodgdonhttp://api.drupal.org/api/function/theme_table
Good catch. This is in the function's body, not in the doc header, and it's been fixed already in Drupal 7, by the way.
Comment #2
jhodgdonHere's a (trivial) patch.
Comment #3
gábor hojtsyCommitted, thanks.