diff options
Diffstat (limited to 'framework')
-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 { |