diff options
Diffstat (limited to 'framework/Web/UI/WebControls/TRangeValidator.php')
-rw-r--r-- | framework/Web/UI/WebControls/TRangeValidator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TRangeValidator.php b/framework/Web/UI/WebControls/TRangeValidator.php index 369b887b..36dbcdca 100644 --- a/framework/Web/UI/WebControls/TRangeValidator.php +++ b/framework/Web/UI/WebControls/TRangeValidator.php @@ -76,7 +76,7 @@ class TRangeValidator extends TBaseValidator */
public function setMinValue($value)
{
- $this->setViewState('MinValue',$value,'');
+ $this->setViewState('MinValue',TPropertyValue::ensureString($value),'');
}
/**
@@ -93,7 +93,7 @@ class TRangeValidator extends TBaseValidator */
public function setMaxValue($value)
{
- $this->setViewState('MaxValue',$value,'');
+ $this->setViewState('MaxValue',TPropertyValue::ensureString($value),'');
}
/**
|