fix php notice

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@51931 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2008-04-01 01:34:26 +00:00 committed by Sam Minnee
parent e04de594af
commit 1cacb2c22f

View File

@ -56,7 +56,7 @@ class TabSet extends CompositeField {
$this->tabSet = $val;
}
public function getTabSet() {
return $this->tabSet;
if(isset($this->tabSet)) return $this->tabSet;
}
/**
@ -90,4 +90,4 @@ class TabSet extends CompositeField {
parent::removeByName( $tabName );
}
}
?>
?>