summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TBaseActiveControl.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-09-30 17:36:51 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-09-30 17:36:51 +0200
commit064053a81f4ce4e9cef5e8984dadfe7cca049fb9 (patch)
treebc3f21355f56918932569e33d3dfcc665d7b9cf2 /framework/Web/UI/ActiveControls/TBaseActiveControl.php
parent4ef09ccaf27e31ac5112b2846c253a2877f8a520 (diff)
Fix use of TCallbackOptions with TActiveCheckBoxList, TActiveRadioButtonList, TActiveRatingList
Diffstat (limited to 'framework/Web/UI/ActiveControls/TBaseActiveControl.php')
-rw-r--r--framework/Web/UI/ActiveControls/TBaseActiveControl.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php
index 73503f3c..61230719 100644
--- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php
+++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php
@@ -239,7 +239,9 @@ class TBaseActiveCallbackControl extends TBaseActiveControl
}
else
{
- $control=$this->getControl()->findControl($id);
+ // TCheckBoxList overrides findControl() with a fake implementation
+ // but accepts a second parameter to use the standard one
+ $control=$this->getControl()->findControl($id, true);
}
if($control instanceof TCallbackOptions)