]> git.llucax.com Git - mecon/meconlib.git/blobdiff - HTML/php/QuickForm/mdate.php
(no commit message)
[mecon/meconlib.git] / HTML / php / QuickForm / mdate.php
index 9a54ae80137c939e095cd93469a6abdc93bfcbb0..1c528bc67e717ccbd3b2476ec098cfc740276a6c 100644 (file)
@@ -118,7 +118,8 @@ class HTML_QuickForm_mdate extends HTML_QuickForm_date
      */
     function validate($nombre, $valor, $formato = '')
     {
-        return Validate::date($valor['F'].'-'.$valor['d'].'-'.$valor['Y'],array('format' => '%Y-%m-%d'));
+        $tmp = $valor['F'].'-'.$valor['d'].'-'.$valor['Y'];
+        return Validate::date($tmp, array('format' => '%Y-%m-%d'));
     } // end func validate
 }
 ?>