|
@@ -77,9 +77,9 @@ class TestsController {
|
|
|
$id = mt_rand(pow(10, 18), pow(10, 18) + 999999999);
|
|
$id = mt_rand(pow(10, 18), pow(10, 18) + 999999999);
|
|
|
|
|
|
|
|
if($people_list[$i]->mobile != null && $people_list[$i]->mobile != ''){
|
|
if($people_list[$i]->mobile != null && $people_list[$i]->mobile != ''){
|
|
|
- $dh = explode(';',$people_list[0]->mobile)[0];
|
|
|
|
|
|
|
+ $dh = explode(';',$people_list[$i]->mobile)[0];
|
|
|
}elseif($people_list[$i]->telephone != null && $people_list[$i]->telephone != ''){
|
|
}elseif($people_list[$i]->telephone != null && $people_list[$i]->telephone != ''){
|
|
|
- $dh = explode(';',$people_list[0]->telephone)[0];
|
|
|
|
|
|
|
+ $dh = explode(';',$people_list[$i]->telephone)[0];
|
|
|
}else{
|
|
}else{
|
|
|
$dh = '';
|
|
$dh = '';
|
|
|
}
|
|
}
|