mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Ussing currentPageID() in ReportAdmin instead of hardcoding to
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92764 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e13bb588d3
commit
3fb7c27ae3
@ -158,7 +158,7 @@ class ReportAdmin extends LeftAndMain {
|
|||||||
*/
|
*/
|
||||||
public function EditForm() {
|
public function EditForm() {
|
||||||
$ids = array();
|
$ids = array();
|
||||||
$id = isset($_REQUEST['ID']) ? $_REQUEST['ID'] : Session::get('currentPage');
|
$id = $this->currentPageID();
|
||||||
$subClasses = $this->getReportClassNames();
|
$subClasses = $this->getReportClassNames();
|
||||||
|
|
||||||
if($subClasses) {
|
if($subClasses) {
|
||||||
|
Loading…
Reference in New Issue
Block a user