From 4b521083bc23dd4afd3330a519fd6400b93316aa Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Sun, 4 Nov 2007 21:35:51 +0000 Subject: [PATCH] Fix Fatal error: Argument 1 passed to TabSet::push() must be an instance of Tab (merged from 2.1.1 branch, r43629) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44203 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TabSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TabSet.php b/forms/TabSet.php index bca5faac8..9088ba17b 100644 --- a/forms/TabSet.php +++ b/forms/TabSet.php @@ -68,7 +68,7 @@ class TabSet extends CompositeField { /** * Add a new child field to the end of the set. */ - public function push(Tab $field) { + public function push($field) { parent::push($field); $field->setTabSet($this); }