]> 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..7f895379c8bc02f4bfa63e42d655879b23204c48 100644 (file)
@@ -116,9 +116,9 @@ class HTML_QuickForm_mdate extends HTML_QuickForm_date
      * @access public
      * @return bool
      */
-    function validate($nombre, $valor, $formato = '')
+    function validate($valor, $nombre, $formato = '')
     {
-        return Validate::date($valor['F'].'-'.$valor['d'].'-'.$valor['Y'],array('format' => '%Y-%m-%d'));
+        return Validate::date($valor['Y'].'-'.$valor['d'].'-'.$valor['F'], array('format' => '%Y-%m-%d'));
     } // end func validate
 }
 ?>