From 37076399552f03b80193e99cafbca5aee48cec75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Mon, 1 Sep 2003 18:45:39 +0000 Subject: [PATCH] BugFix --- lib/MECON/HTML/QuickForm/mdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MECON/HTML/QuickForm/mdate.php b/lib/MECON/HTML/QuickForm/mdate.php index b4927fa..a261647 100644 --- a/lib/MECON/HTML/QuickForm/mdate.php +++ b/lib/MECON/HTML/QuickForm/mdate.php @@ -99,7 +99,7 @@ class MECON_HTML_QuickForm_mdate extends HTML_QuickForm_date { */ function &getValue() { if ($this->_selectedDate['Y']) { - return new Date (sprintf("%04d-%02d-%02d 00:00:00",$this->_selectedDate['Y'],$this->_selectedDate['F'],$this->_selectedDate['d'])); + return new Date (@sprintf("%04d-%02d-%02d 00:00:00", $this->_selectedDate['Y'], $this->_selectedDate['F'], $this->_selectedDate['d'])); } else { return null; } -- 2.43.0