]> git.llucax.com Git - mecon/meconlib.git/commitdiff
BugFix
authorMartín Marrese <marrese@gmail.com>
Mon, 1 Sep 2003 18:45:39 +0000 (18:45 +0000)
committerMartín Marrese <marrese@gmail.com>
Mon, 1 Sep 2003 18:45:39 +0000 (18:45 +0000)
lib/MECON/HTML/QuickForm/mdate.php

index b4927fa07a2421a247b65f124c13befbaaefa602..a261647f5e81cdf5d1aee8d86792649500c95332 100644 (file)
@@ -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;
         }