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:
Ingo Schommer 2008-10-15 22:57:33 +00:00
parent 2ddc6f13e8
commit 5865fd19d1

View File

@ -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]);
}