cvs: pear /Validate package_ptBR.xml /Validate/Validate ptBR.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Wed, 02 Mar 2005 14:21:43 +0000 |
| Subject: | cvs: pear /Validate package_ptBR.xml /Validate/Validate ptBR.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29990@lists.php.net to get a copy of this message | ||
dufuz Wed Mar 2 09:21:43 2005 EDT
Modified files:
/pear/Validate/Validate ptBR.php
/pear/Validate package_ptBR.xml
Log:
- Fix Bug #3668, usage of $$foo were it should have been $foo
http://cvs.php.net/diff.php/pear/Validate/Validate/ptBR.php?r1=1.6&r2=1.7&ty=u
Index: pear/Validate/Validate/ptBR.php
diff -u pear/Validate/Validate/ptBR.php:1.6 pear/Validate/Validate/ptBR.php:1.7
--- pear/Validate/Validate/ptBR.php:1.6 Tue Jan 11 08:05:13 2005
+++ pear/Validate/Validate/ptBR.php Wed Mar 2 09:21:40 2005
@@ -16,7 +16,7 @@
// | Authors: Silvano Girardi Jr. <silvano@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: ptBR.php,v 1.6 2005/01/11 13:05:13 dufuz Exp $
+// $Id: ptBR.php,v 1.7 2005/03/02 14:21:40 dufuz Exp $
// Specific validation methods for data used in pt_BR
//
@@ -143,7 +143,7 @@
$sum = $number[0]*5+$number[1]*4+$number[2]*3+$number[3]*2+
$number[4]*9+$number[5]*8+$number[6]*7+$number[7]*6+
- $$number[8]*5+$number[9]*4+$number[10]*3+$number[11]*2;
+ $number[8]*5+$number[9]*4+$number[10]*3+$number[11]*2;
$sum -= (11*(intval($sum/11)));
http://cvs.php.net/diff.php/pear/Validate/package_ptBR.xml?r1=1.3&r2=1.4&ty=u
Index: pear/Validate/package_ptBR.xml
diff -u pear/Validate/package_ptBR.xml:1.3 pear/Validate/package_ptBR.xml:1.4
--- pear/Validate/package_ptBR.xml:1.3 Wed Jan 12 09:10:30 2005
+++ pear/Validate/package_ptBR.xml Wed Mar 2 09:21:43 2005
@@ -25,6 +25,7 @@
<notes>
- Split from Validate into independent package
- CS fixes
+- Fix Bug #3668, usage of $$foo were it should have been $foo
- BC break!
postalCode unified between countries (name wise), now all postcode validation funcs are named
postalCode
</notes>