From 8ae80b160316912d9ad8b1e286a452144be5f814 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Wed, 11 Jun 2003 16:10:17 +0000 Subject: [PATCH 1/1] --- HTML/php/QuickForm/mdate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HTML/php/QuickForm/mdate.php b/HTML/php/QuickForm/mdate.php index 751830d..9a54ae8 100644 --- a/HTML/php/QuickForm/mdate.php +++ b/HTML/php/QuickForm/mdate.php @@ -116,9 +116,9 @@ class HTML_QuickForm_mdate extends HTML_QuickForm_date * @access public * @return bool */ - function validate($fecha) + function validate($nombre, $valor, $formato = '') { - return Validate::date($fecha, array('format' => '%Y-%m-%d')) + return Validate::date($valor['F'].'-'.$valor['d'].'-'.$valor['Y'],array('format' => '%Y-%m-%d')); } // end func validate } ?> -- 2.43.0