summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TWizard.php
diff options
context:
space:
mode:
authorxue <>2006-04-11 17:31:08 +0000
committerxue <>2006-04-11 17:31:08 +0000
commitffc189729b2ce96c35dc78a754dfb15b478c5220 (patch)
treecba78e548f35d32ebda7d3ea78a814839ff1c43d /framework/Web/UI/WebControls/TWizard.php
parenta8e1d16070c4561a510196bf9dca1a8af66c7ba3 (diff)
Fixed a few inconsistency due to change of template parsing.
Diffstat (limited to 'framework/Web/UI/WebControls/TWizard.php')
-rw-r--r--framework/Web/UI/WebControls/TWizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php
index ef4691bd..fd849d3d 100644
--- a/framework/Web/UI/WebControls/TWizard.php
+++ b/framework/Web/UI/WebControls/TWizard.php
@@ -189,7 +189,7 @@ class TWizard extends TWebControl implements INamingContainer
*/
public function addParsedObject($object)
{
- if(is_object($object))
+ if($object instanceof TWizardStep)
$this->getWizardSteps()->add($object);
}