summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/TControl.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 82bfd5bc..ae7db1ee 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,7 @@
Version 3.0.4 September 3, 2006
===============================
BUG: Fixed a bug that would prevent from using <prop:> tag in skins (Qiang)
+BUG: Fixed a typo in TControl::setCustomData() (Qiang)
ENH: TListControl.SelectedValues and SelectedIndices can now be set before databinding (Qiang)
Version 3.0.3 August 6, 2006
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index 29648553..9c3413bc 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -470,7 +470,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
*/
public function setCustomData($value)
{
- $this->getViewState('CustomData',$value,null);
+ $this->setViewState('CustomData',$value,null);
}
/**