[Phplib-trackers] [ phplib-Bugs-466835 ] small bug in Table::table_row()
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2001-10-01 14:16:27
|
Bugs item #466835, was opened at 2001-10-01 07:16 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=466835&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: small bug in Table::table_row() Initial Comment: Lines 475 and 476 of table.inc (version 7.2d) read: $d = $this->select_colnames($data); $this->table_row_open($row, $d, $class); According to the docs (and the description of table_row_open), the second argument "is for derived classes that override this function that want access to the row data for the row about to be opened." In reality, table_row_open() receives an array with fieldnames, not a hash with fieldname/value pairs. Solution: o delete line 475 o replace $d in line 476 with $data Regards, Peter Fokkinga ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=466835&group_id=31885 |