Re: cvs: pear /Validate Validate.php

From: Date: Tue, 11 Jun 2002 13:52:51 +0000
Subject: Re: cvs: pear /Validate Validate.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4549@lists.php.net to get a copy of this message
> pajoye Tue Jun 11 07:01:58 2002 EDT > > Modified files: > /pear/Validate Validate.php > Log: > Fix bugs with year between year 1 and year 1000 > Fix the min and max dates interval > Fix bug with minutes or seconds >59 > > Index: pear/Validate/Validate.php > diff -u pear/Validate/Validate.php:1.17 pear/Validate/Validate.php:1.18 > @@ -255,7 +257,7 @@ > } else { > //literal > if (Validate::_substr($date, 1) != $c) { > - return false; > + //return false; > } > } > } Why you removed the literal validation? If I expect %d-%m-%Y format because my database need it so, I don't want the user to introduce % d,%m,%Y for example. Or I'm missing something? or just a typo? Tomas V.V.Cox ------------------ Idecnet Correo-Web

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