RE: [PEAR] QC 3.2 rangelenght rule
| From: | Mike Carter | Date: | Thu, 06 Nov 2003 09:20:31 +0000 |
| Subject: | RE: [PEAR] QC 3.2 rangelenght rule | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8806@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Arnaud Limbourg [mailto:arnaud.limbourg.prestataire@cegetel.fr]
>
> in QC 3.1 i was using
>
> $this->addRule('handle', 'Invalid',
> 'rangelength', '4,12');
>
> Now i have to use
>
> $this->addRule('handle', 'Invalid',
> 'rangelength', array(4,
> 12));
>
> Is this correct or was i doing it wrong in QC 3.1 ?
I too was using '6,10' style - I cannot remember where I picked that up from
then!
> Arnaud.
>
> ps: it might just help other people who upgrade but of course
> i may be
> the only one to blame :)
Thanks... Although I've not got that far through fixing my validation rules
for QF3.2 I know have one less fix to worry about!
Regards,
Mike c.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________