mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: Make SS_ReportWrapper::sourceRecords()' arguments optional
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101189 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f8ff13ad9e
commit
11392e5bb2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user