diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2016-08-23 12:02:34 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2016-08-23 12:02:34 +0200 |
commit | fbf22c25f8c3c41516797a576969ac1c8a9afb36 (patch) | |
tree | 5dcc983822e4fbc55918e4706403533fb9e386ab /framework/Web/UI | |
parent | 5a6ea2db91e5fdad6f7799a7b797f7035ece259c (diff) |
Fix #608
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TControl.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 1b8a2138..caf0e0cb 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -795,10 +795,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable if($this->_trackViewState) { unset($this->_tempState[$key]); - if($value===$defaultValue) - unset($this->_viewState[$key]); - else - $this->_viewState[$key]=$value; + $this->_viewState[$key]=$value; } else { |