mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
9bedeed772
commit
55f0ddd3ff
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user