summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-08-15 12:16:53 +0000
committerxue <>2006-08-15 12:16:53 +0000
commitf29e7b34891d2bb10da8cd1beb55a1b336484d22 (patch)
treeb0f22158e4704d7ca042c8cc2734ab641d40cbc4
parente51b31535521738c7bd8fc8d89e80d57f11eddda (diff)
Fixed a typo in TControl::setCustomData()
-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);
}
/**