mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02: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);
|
$this->beforeQuery($params);
|
||||||
$records = $this->baseReport->sourceRecords($params, $sort, $limit);
|
$records = $this->baseReport->sourceRecords($params, $sort, $limit);
|
||||||
$this->afterQuery();
|
$this->afterQuery();
|
||||||
|
Loading…
Reference in New Issue
Block a user