Fix php notices

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39881 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-08-12 22:47:31 +00:00
parent 9bedeed772
commit 55f0ddd3ff
1 changed files with 2 additions and 2 deletions

View File

@ -209,10 +209,10 @@ JS;
function DetailForm() {
// Get all the requests
$ID = Convert::raw2xml($_REQUEST['ctf']['ID']);
$ID = isset($_REQUEST['ctf']['ID']) ? Convert::raw2xml($_REQUEST['ctf']['ID']) : null;
$childID = Convert::raw2xml($_REQUEST['ctf']['childID']);
$childClass = Convert::raw2xml($_REQUEST['fieldName']);
$this->methodName = $_REQUEST['methodName'];
$this->methodName = isset($_REQUEST['methodName']) ? $_REQUEST['methodName'] : null;
// used to discover fields if requested and for population of field
if(is_numeric($childID)) {