summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authorxue <>2006-02-17 21:14:12 +0000
committerxue <>2006-02-17 21:14:12 +0000
commitcba0c1b472cec22e4ffed2b3b084bea27cd26582 (patch)
tree9a8f8383a93ebb011757423bfc8b39066cb017ea /framework/Web/UI/TControl.php
parent35836e45fab30dc4c31a4f51e32b551181e7ec86 (diff)
Fixed #54.
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r--framework/Web/UI/TControl.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index d1ae189a..dbe4a233 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -1053,6 +1053,8 @@ class TControl extends TApplicationComponent
$control->_stage=self::CS_CONSTRUCTED;
if(!($control->_flags & self::IS_ID_SET))
$control->_id='';
+ else
+ unset($this->_rf[self::RF_NAMED_OBJECTS][$control->_id]);
$control->clearCachedUniqueID(true);
}