FIX_MOBILE_NO_VALIDATION : RV
This commit is contained in:
parent
b9d0ecc52e
commit
8f5fc52d9f
@ -1769,7 +1769,7 @@ if(!function_exists('check_dup_mobileno'))
|
||||
{
|
||||
foreach($existing_mobilenos as $k => $value)
|
||||
{
|
||||
if ($row['12'] == $value['mobile']) {
|
||||
if (strtolower($row['5']) == 'self' && $row['12'] == $value['mobile']) {
|
||||
return array('status' => false,'error' => "Duplicate Mobile No");
|
||||
// break;
|
||||
}
|
||||
@ -1784,7 +1784,7 @@ if(!function_exists('check_dup_email'))
|
||||
{
|
||||
foreach($existing_mobilenos as $k => $value)
|
||||
{
|
||||
if ($row['13'] == $value['email_corporate']) {
|
||||
if (strtolower($row['5']) == 'self' && $row['13'] == $value['email_corporate']) {
|
||||
return array('status' => false,'error' => "Duplicate Email");
|
||||
// break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user