cvs: pearweb /include/bugs pear-bug-accountrequest.php
| From: | David Coallier | Date: | Tue, 25 Mar 2008 01:35:30 +0000 |
| Subject: | cvs: pearweb /include/bugs pear-bug-accountrequest.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7374@lists.php.net to get a copy of this message | ||
davidc Tue Mar 25 01:35:30 2008 UTC
Modified files:
/pearweb/include/bugs pear-bug-accountrequest.php
Log:
- Bug #11789: Removed the uppercase check completely. This is the last
of our concern if someone puts his name in small letters
http://cvs.php.net/viewvc.cgi/pearweb/include/bugs/pear-bug-accountrequest.php?r1=1.42&r2=1.43&diff_format=u
Index: pearweb/include/bugs/pear-bug-accountrequest.php
diff -u pearweb/include/bugs/pear-bug-accountrequest.php:1.42
pearweb/include/bugs/pear-bug-accountrequest.php:1.43
--- pearweb/include/bugs/pear-bug-accountrequest.php:1.42 Wed Feb 6 01:34:00 2008
+++ pearweb/include/bugs/pear-bug-accountrequest.php Tue Mar 25 01:35:28 2008
@@ -167,14 +167,6 @@
$errors[] = 'Your lastname appears to be too short.';
}
- // Firstname and lastname must start with an uppercase letter
- if (!preg_match("/^[A-Z]/", $firstname)) {
- $errors[] = 'Your firstname must begin with an uppercase letter';
- }
- if (!preg_match("/^[A-Z]/", $lastname)) {
- $errors[] = 'Your lastname must begin with an uppercase letter';
- }
-
// No names with only uppercase letters
if ($firstname === strtoupper($firstname)) {
$errors[] = 'Your firstname must not consist of only uppercase letters.';