diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-30 17:36:51 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-30 17:36:51 +0200 |
commit | 064053a81f4ce4e9cef5e8984dadfe7cca049fb9 (patch) | |
tree | bc3f21355f56918932569e33d3dfcc665d7b9cf2 /framework/Web/UI/ActiveControls/TBaseActiveControl.php | |
parent | 4ef09ccaf27e31ac5112b2846c253a2877f8a520 (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.php | 4 |
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) |