]> git.llucax.com Git - mecon/meconlib.git/commitdiff
(no commit message)
authorMartín Marrese <marrese@gmail.com>
Wed, 11 Jun 2003 16:12:55 +0000 (16:12 +0000)
committerMartín Marrese <marrese@gmail.com>
Wed, 11 Jun 2003 16:12:55 +0000 (16:12 +0000)
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 = '')
     {
      */
     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
 }
 ?>
     } // end func validate
 }
 ?>