- last commit fix (there's probably no class definition when reading table rows from DB)

release-0.6
alecpl 15 years ago
parent b695604624
commit f4f1c442f7

@ -735,9 +735,6 @@ function rcube_table_output($attrib, $table_data, $a_show_cols, $id_col)
while ($table_data && ($sql_arr = $db->fetch_assoc($table_data)))
{
$zebra_class = $c % 2 ? 'even' : 'odd';
if (!empty($row_data['class']))
$zebra_class .= ' '.$row_data['class'];
$table->add_row(array('id' => 'rcmrow' . $sql_arr[$id_col], 'class' => $zebra_class));
// format each col

Loading…
Cancel
Save