see #4214, remove warnings

skala
Laurent Opprecht 13 years ago
parent 577e6d6d06
commit 9fe0850291
  1. 3
      main/inc/lib/sortable_table.class.php

@ -879,11 +879,12 @@ class SortableTable extends HTML_Table {
* @param int $from Index of the first item to return.
* @param int $per_page The number of items to return
* @param int $column The number of the column on which the data should be
* @param bool $sort Whether to sort or not
* sorted
* @param string $direction In which order should the data be sorted (ASC
* or DESC)
*/
public function get_table_data ($from = null, $per_page = null, $column = null, $direction = null) {
public function get_table_data ($from = null, $per_page = null, $column = null, $direction = null, $sort = null) {
if (!is_null($this->get_data_function)) {
return call_user_func($this->get_data_function, $from, $this->per_page, $this->column, $this->direction);
}

Loading…
Cancel
Save