From 873c5bbd969d5699a8b40e60f5adc224b2b6d84d Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 10 Jan 2014 17:20:47 +0100 Subject: Ported TRatingList --- framework/Web/UI/WebControls/TRatingList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI') diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php index 09d7fc6a..c48b3cdb 100644 --- a/framework/Web/UI/WebControls/TRatingList.php +++ b/framework/Web/UI/WebControls/TRatingList.php @@ -173,7 +173,7 @@ class TRatingList extends TRadioButtonList { if(($id=$this->getCaptionID())!=='') { - if($control=$this->getParent()->findControl($id)) + if($control=$this->getPage()->findControl($id)) return $control; } throw new TInvalidDataValueException( -- cgit v1.2.3