diff options
author | xue <> | 2006-03-19 15:01:48 +0000 |
---|---|---|
committer | xue <> | 2006-03-19 15:01:48 +0000 |
commit | 0a5ac092a516ef3c71111d259b814864d2171efd (patch) | |
tree | 851078a168efd9e8657fab6eddfc92d98f1faf6b /framework/Web/UI | |
parent | b8ac07fd91e18decc0a863f3deb115772ea27eac (diff) |
Fixed #95.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TTemplateControl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php index c902295c..ef90f0a3 100644 --- a/framework/Web/UI/TTemplateControl.php +++ b/framework/Web/UI/TTemplateControl.php @@ -159,7 +159,7 @@ class TTemplateControl extends TControl implements INamingContainer */
public function registerContentPlaceHolder($id,TContentPlaceHolder $object)
{
- if(isset($this->_contents[$id]))
+ if(isset($this->_placeholders[$id]))
throw new TConfigurationException('templatecontrol_placeholderid_duplicated',$id);
else
$this->_placeholders[$id]=$object;
|