From 6edff35cd3315df12c0b41986eadbf29de8a67b2 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 25 Oct 2016 16:03:16 +0200 Subject: * Prado bumped to v3.3.2 --- lib/prado/framework/Web/UI/TControl.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/prado/framework/Web/UI/TControl.php') 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 { -- cgit v1.2.3