mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
mlanthaler: Bugfix: Added isset() to prevent E_NOTICE error.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41916 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d5d2006980
commit
eb73802bcd
@ -146,7 +146,9 @@ class MemberTableField extends ComplexTableField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function DetailForm() {
|
function DetailForm() {
|
||||||
$ID = Convert::raw2xml($_REQUEST['ctf']['ID']);
|
$ID = Convert::raw2xml(isset($_REQUEST['ctf']['ID'])
|
||||||
|
? $_REQUEST['ctf']['ID']
|
||||||
|
: '');
|
||||||
$childID = isset($_REQUEST['ctf']['childID']) ? Convert::raw2xml($_REQUEST['ctf']['childID']) : 0;
|
$childID = isset($_REQUEST['ctf']['childID']) ? Convert::raw2xml($_REQUEST['ctf']['childID']) : 0;
|
||||||
$childClass = Convert::raw2xml($_REQUEST['fieldName']);
|
$childClass = Convert::raw2xml($_REQUEST['fieldName']);
|
||||||
$methodName = isset($_REQUEST['methodName']) ? $_REQUEST['methodName'] : '';
|
$methodName = isset($_REQUEST['methodName']) ? $_REQUEST['methodName'] : '';
|
||||||
|
Loading…
Reference in New Issue
Block a user