mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Began interface for comment administration
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39725 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a62c0bc093
commit
9e8ec42e46
@ -392,7 +392,7 @@ JS;
|
||||
// we can't rely on $idField being populated, and fall back to the request-params.
|
||||
// this is a workaround for a bug where each subsequent popup-call didn't have ID
|
||||
// of the parent set, and so didn't properly save the relation
|
||||
return ($idField->Value()) ? $idField->Value() : $_REQUEST['ctf']['ID'];
|
||||
return ($idField->Value()) ? $idField->Value() : (isset($_REQUEST['ctf']['ID']) ? $_REQUEST['ctf']['ID'] : null);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user