Closed (fixed)
Project:
Drupal core
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Jun 2005 at 14:56 UTC
Updated:
3 Jul 2005 at 08:15 UTC
This patch no longer makes theme_table go bonkers on an empty array().
Robin
| Comment | File | Size | Author |
|---|---|---|---|
| count.not.is_array.patch | 1.33 KB | robin monks |
Comments
Comment #1
killes@www.drop.org commentedThe problem is that sometimes one wants a table without headers. People give NULL or '' as a value to $header to achieve this. This causes problems in tablesort_cell because $header is assumed to be an array. Occurs only with php 5.
See here:
http://drupal.org/node/11187
Comment #2
dries commentedCommitted to HEAD and DRUPAL-4-6. Thanks.
Comment #3
(not verified) commented