From: Martín Marrese Date: Wed, 11 Jun 2003 16:12:55 +0000 (+0000) Subject: (no commit message) X-Git-Tag: svn_import~490 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/02fac79a27bdb3b710ab2a430f178bf295f7081b?ds=sidebyside --- diff --git a/HTML/php/QuickForm/mdate.php b/HTML/php/QuickForm/mdate.php index 9a54ae8..1c528bc 100644 --- a/HTML/php/QuickForm/mdate.php +++ b/HTML/php/QuickForm/mdate.php @@ -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 } ?>