mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00: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() {
|
||||
$ids = array();
|
||||
$id = isset($_REQUEST['ID']) ? $_REQUEST['ID'] : Session::get('currentPage');
|
||||
$id = $this->currentPageID();
|
||||
$subClasses = $this->getReportClassNames();
|
||||
|
||||
if($subClasses) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user