summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TLinkButton.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TLinkButton.php')
-rw-r--r--framework/Web/UI/WebControls/TLinkButton.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TLinkButton.php b/framework/Web/UI/WebControls/TLinkButton.php
index c24119e5..619f8e77 100644
--- a/framework/Web/UI/WebControls/TLinkButton.php
+++ b/framework/Web/UI/WebControls/TLinkButton.php
@@ -185,7 +185,7 @@ class TLinkButton extends TWebControl implements IPostBackEventHandler
*/
public function setCausesValidation($value)
{
- $this->setViewState('CausesValidation',$value,true);
+ $this->setViewState('CausesValidation',TPropertyValue::ensureBoolean($value),true);
}
/**