[drupal-devel] [bug] Make theme_table() PHP5 ready
Issue status update for http://drupal.org/node/25143 Project: Drupal Version: cvs Component: theme system Category: bug reports Priority: normal Assigned to: Robin Monks Reported by: Robin Monks Updated by: Robin Monks Status: patch Attachment: http://drupal.org/files/issues/count.not.is_array.patch (1.33 KB) This patch no longer makes theme_table go bonkers on an empty array(). Robin Robin Monks
Issue status update for http://drupal.org/node/25143 Project: Drupal Version: cvs Component: theme system Category: bug reports Priority: normal Assigned to: Robin Monks Reported by: Robin Monks Updated by: killes@www.drop.org Status: patch The 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 killes@www.drop.org Previous comments: ------------------------------------------------------------------------ June 16, 2005 - 16:56 : Robin Monks Attachment: http://drupal.org/files/issues/count.not.is_array.patch (1.33 KB) This patch no longer makes theme_table go bonkers on an empty array(). Robin
participants (2)
-
killes -
Robin Monks