diff options
author | xue <> | 2007-10-03 21:30:40 +0000 |
---|---|---|
committer | xue <> | 2007-10-03 21:30:40 +0000 |
commit | 6801199f087954afef903dadd837230ae6457e31 (patch) | |
tree | 9ed1cac439f77b49da5ad27c953fab604d0aef0f /framework | |
parent | 9b833015fcb1abffe80685a8ee5231ade9bd4923 (diff) |
another fix for TConditional.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/WebControls/TConditional.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TConditional.php b/framework/Web/UI/WebControls/TConditional.php index 54ab6063..d8a081b1 100644 --- a/framework/Web/UI/WebControls/TConditional.php +++ b/framework/Web/UI/WebControls/TConditional.php @@ -83,10 +83,10 @@ class TConditional extends TControl if($result)
{
if($this->_trueTemplate)
- $this->_trueTemplate->instantiateIn($this->getTemplateControl(),$this->getParent());
+ $this->_trueTemplate->instantiateIn($this->getTemplateControl(),$this);
}
else if($this->_falseTemplate)
- $this->_falseTemplate->instantiateIn($this->getTemplateControl(),$this->getParent());
+ $this->_falseTemplate->instantiateIn($this->getTemplateControl(),$this);
$this->_creatingChildren=false;
}
|