fixed PHP notice

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50822 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-03-11 00:22:47 +00:00
parent 026c2c1961
commit 04854f30d0

View File

@ -96,7 +96,7 @@ class ReportAdmin extends LeftAndMain {
}
public function EditForm() {
$id = $_REQUEST['ID'] ? $_REQUEST['ID'] : Session::get('currentPage');
$id = (isset($_REQUEST['ID'])) ? $_REQUEST['ID'] : Session::get('currentPage');
$subclasses = ClassInfo::subclassesFor('Report');