FIX_LIVE_ISSUE
This commit is contained in:
parent
2768d52aa6
commit
b02bcc5f6e
@ -2639,7 +2639,7 @@ class EmployeeRestController extends AdminController
|
||||
$finalarray[$value] = $termsValue;
|
||||
}
|
||||
}
|
||||
if(is_array($terms->gpa_special_condition_label) && is_array($terms->gpa_special_condition_input)){
|
||||
if(isset(($terms->gpa_special_condition_label)) && is_array($terms->gpa_special_condition_label) && is_array($terms->gpa_special_condition_input)){
|
||||
for ($i=0; $i < count($terms->gpa_special_condition_label); $i++) {
|
||||
$finalarray[$terms->gpa_special_condition_label[$i]] = $terms->gpa_special_condition_input[$i];
|
||||
}
|
||||
@ -2661,7 +2661,7 @@ class EmployeeRestController extends AdminController
|
||||
$finalarray[$value] = $termsValue;
|
||||
}
|
||||
}
|
||||
if(is_array($terms->special_condition_label) && is_array($terms->special_condition_input)){
|
||||
if(isset(($terms->special_condition_label)) && is_array($terms->special_condition_label) && is_array($terms->special_condition_input)){
|
||||
for ($i=0; $i < count($terms->special_condition_label); $i++) {
|
||||
$finalarray[$terms->special_condition_label[$i]] = $terms->special_condition_input[$i];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user