X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/8117acde82b62ec80191c2bcfbd7df5045345d21..7636dc991c32ffc9990d112acf989ccab9789a90:/lib/MECON/HTML/QuickForm/mdate.php?ds=sidebyside 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; }