FIX_MOBILE_NO_VALIDATION : RV

This commit is contained in:
VENKATESHWARAN 2025-05-22 15:44:59 +05:30
parent b9d0ecc52e
commit 8f5fc52d9f

View File

@ -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;
}