Merged revisions 51938 via svnmerge from

svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2

........
  r51938 | aoneil | 2008-04-01 14:34:26 +1300 (Tue, 01 Apr 2008) | 2 lines
  
  fix php notice
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@51932 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2008-04-01 01:50:34 +00:00
parent 1f512519e1
commit 7fa0a96c71

View File

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