cvs: pear /Validate Validate.php

From: Date: Thu, 13 Jun 2002 22:39:26 +0000
Subject: cvs: pear /Validate Validate.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4606@lists.php.net to get a copy of this message
pajoye Thu Jun 13 18:39:26 2002 EDT Modified files: /pear/Validate Validate.php Log: fix date() method, wrong params order to checkdate() Index: pear/Validate/Validate.php diff -u pear/Validate/Validate.php:1.20 pear/Validate/Validate.php:1.21 --- pear/Validate/Validate.php:1.20 Tue Jun 11 10:49:05 2002 +++ pear/Validate/Validate.php Thu Jun 13 18:39:25 2002 @@ -18,7 +18,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Validate.php,v 1.20 2002/06/11 14:49:05 pajoye Exp $ +// $Id: Validate.php,v 1.21 2002/06/13 22:39:25 pajoye Exp $ // // Methods for common data validations // @@ -266,7 +266,7 @@ return false; } if (isset($day) && isset($month) && isset($year)) { - if (!checkdate($day, $month, $year)) { + if (!checkdate($month, $day, $year)) { return false; } if ($min || $max) {

« previous php.pear.cvs (#4606) next »