summaryrefslogtreecommitdiff
path: root/lib/prado/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-10-25 16:03:16 +0200
committeremkael <emkael@tlen.pl>2016-10-25 16:03:16 +0200
commit6edff35cd3315df12c0b41986eadbf29de8a67b2 (patch)
treeaecd048463766904c3a9a3502cf6a328c7bc18d2 /lib/prado/framework/Web/UI/TControl.php
parent817ac4550e149c91f007417cb43dcc80d28dbd5d (diff)
* Prado bumped to v3.3.2
Diffstat (limited to 'lib/prado/framework/Web/UI/TControl.php')
-rw-r--r--lib/prado/framework/Web/UI/TControl.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/prado/framework/Web/UI/TControl.php b/lib/prado/framework/Web/UI/TControl.php
index 1b8a213..caf0e0c 100644
--- a/lib/prado/framework/Web/UI/TControl.php
+++ b/lib/prado/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
{