[Vtigercrm-commits] [vtiger-commits] r10974 - /vtigercrm/branches/5.0.3/modules/Users/Forms.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 23 03:53:21 EDT 2007
Author: richie
Date: Wed May 23 01:53:17 2007
New Revision: 10974
Log:
fix for issue with yahooid in user creation. --minnie
Modified:
vtigercrm/branches/5.0.3/modules/Users/Forms.php
Modified: vtigercrm/branches/5.0.3/modules/Users/Forms.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/Forms.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/Forms.php Wed May 23 01:53:17 2007
@@ -110,7 +110,7 @@
form.email2.focus();
return false;
}
- if (trim(form.yahoo_id.value) != "" && !/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(form.yahoo_id.value) || (!(form.yahoo_id.value.indexOf('yahoo') > -1))) {
+ if (trim(form.yahoo_id.value) != "" && !/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(form.yahoo_id.value) || (trim(form.yahoo_id.value) != "" && !(form.yahoo_id.value.indexOf('yahoo') > -1))) {
alert("$the_emailid"+form.yahoo_id.value+"$yahoo_email_field_is");
form.yahoo_id.focus();
return false;
More information about the vtigercrm-commits
mailing list