[svn r17682] Minor - warning message avoided

skala
Julio Montoya 17 years ago
parent 493f8e7534
commit 564ca56a7f
  1. 9
      main/inc/lib/sortabletable.class.php

@ -301,10 +301,13 @@ class SortableTable extends HTML_Table
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
$table_data = $this->get_table_data($from);
foreach ($table_data as $index => $row)
if (is_array($table_data))
{
$row = $this->filter_data($row);
$this->addRow($row);
foreach ($table_data as $index => $row)
{
$row = $this->filter_data($row);
$this->addRow($row);
}
}
$this->altRowAttributes(0, array ('class' => 'row_odd'), array ('class' => 'row_even'), true);
foreach ($this->th_attributes as $column => $attributes)

Loading…
Cancel
Save