BUGFIX: Make SS_ReportWrapper::sourceRecords()' arguments optional (from r101189)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111641 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-04 06:07:24 +00:00
parent d53ea50620
commit f00a0a1570
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ abstract class SS_ReportWrapper extends SS_Report {
}
function sourceRecords($params, $sort, $limit) {
function sourceRecords($params = array(), $sort = null, $limit = null) {
$this->beforeQuery($params);
$records = $this->baseReport->sourceRecords($params, $sort, $limit);
$this->afterQuery();