diff --git a/model/ListDecorator.php b/model/ListDecorator.php index 53da6a0a0..19fb11150 100644 --- a/model/ListDecorator.php +++ b/model/ListDecorator.php @@ -136,7 +136,7 @@ abstract class SS_ListDecorator extends ViewableData implements SS_List, SS_Sort return call_user_func_array(array($this->list, 'filter'), $args); } - public function limit($length, $offset) { + public function limit($limit, $offset = 0) { return $this->list->getRange($length, $offset); }