summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/WebControls/TRatingList.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php
index c48b3cdb..b1673ac0 100644
--- a/framework/Web/UI/WebControls/TRatingList.php
+++ b/framework/Web/UI/WebControls/TRatingList.php
@@ -175,6 +175,8 @@ class TRatingList extends TRadioButtonList
{
if($control=$this->getPage()->findControl($id))
return $control;
+ if($control=$this->getNamingContainer()->findControl($id))
+ return $control;
}
throw new TInvalidDataValueException(
'ratinglist_invalid_caption_id',$id,$this->getID());