mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX use the correct method for retrieving the report ID
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99506 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4539825a1b
commit
5b36ce5cc0
@ -693,7 +693,7 @@ JS;
|
|||||||
// $options[""] = _t('CMSMain.CHOOSEREPORT',"(Choose a report)");
|
// $options[""] = _t('CMSMain.CHOOSEREPORT',"(Choose a report)");
|
||||||
foreach($this->SideReports() as $report) {
|
foreach($this->SideReports() as $report) {
|
||||||
if($report->canView()) {
|
if($report->canView()) {
|
||||||
$options[$report->group()][$report->sort()][get_class($report)] = $report->title();
|
$options[$report->group()][$report->sort()][$report->ID()] = $report->title();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user