|
From: Benjamin C. <bc...@us...> - 2002-04-01 15:42:44
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv16912/admin
Modified Files:
user.php
Log Message:
Changed the name of the valid_email function to reduce conflicts and changed the validation regex to allow longer TLDs
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- user.php 30 Mar 2002 20:37:47 -0000 1.44
+++ user.php 1 Apr 2002 15:42:41 -0000 1.45
@@ -32,7 +32,7 @@
// Validation
if (!EMAIL_IS_LOGIN && !$_pv['flogin'] = trim($_pv['flogin'])) {
$error = $STRING['givelogin'];
- } elseif (!valid_email($_pv['femail'])) {
+ } elseif (!bt_valid_email($_pv['femail'])) {
$error = $STRING['giveemail'];
} elseif (!$_pv['fpassword'] = trim($_pv['fpassword'])) {
$error = $STRING['givepassword'];
|