mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR fixed php notice error in DataObject
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64319 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2ddc6f13e8
commit
5865fd19d1
@ -2360,7 +2360,7 @@ class DataObject extends ViewableData implements DataObjectInterface {
|
||||
"{$this->class}ID" => "Int",
|
||||
(($this->class == $childClass) ? "ChildID" : "{$childClass}ID") => "Int",
|
||||
);
|
||||
if($extras[$relationship]) {
|
||||
if(isset($extras[$relationship])) {
|
||||
$manymanyFields = array_merge($manymanyFields, $extras[$relationship]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user