From 4416943e5d682c212b7a15b2f71d9b6c5d3f3e1f Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 23 Feb 2006 06:14:27 +0000 Subject: Fixing #65 --- framework/Web/UI/WebControls/TDatePicker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TDatePicker.php') diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php index 8d4de13e..929ee297 100644 --- a/framework/Web/UI/WebControls/TDatePicker.php +++ b/framework/Web/UI/WebControls/TDatePicker.php @@ -224,7 +224,7 @@ class TDatePicker extends TTextBox */ public function setUpToYear($value) { - $this-setViewState('UpToYear', TPropertyValue::ensureInteger($value), intval(@date('Y'))+10); + $this->setViewState('UpToYear', TPropertyValue::ensureInteger($value), intval(@date('Y'))+10); } /** -- cgit v1.2.3