diff options
-rw-r--r-- | framework/Web/UI/WebControls/TDatePicker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php index ca52523d..3442fb3e 100644 --- a/framework/Web/UI/WebControls/TDatePicker.php +++ b/framework/Web/UI/WebControls/TDatePicker.php @@ -276,7 +276,7 @@ class TDatePicker extends TTextBox */
public function setTimeStamp($value)
{
- if($value===null || (is_string($value) && trim($value)==='')
+ if($value===null || (is_string($value) && trim($value)===''))
$this->setText('');
else
{
|