From 3fb7c27ae32556c76145d219a6a26fcba6bc5121 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 03:17:27 +0000 Subject: [PATCH] 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 --- code/ReportAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ReportAdmin.php b/code/ReportAdmin.php index b31ff073..6d15820e 100755 --- a/code/ReportAdmin.php +++ b/code/ReportAdmin.php @@ -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) {