mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
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:
parent
d53ea50620
commit
f00a0a1570
@ -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…
x
Reference in New Issue
Block a user