From b02bcc5f6e493cd090f52b068c506af7908e020c Mon Sep 17 00:00:00 2001 From: velz Date: Wed, 8 Jan 2025 14:39:39 +0530 Subject: [PATCH] FIX_LIVE_ISSUE --- app/Controllers/EmployeeRestController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/EmployeeRestController.php b/app/Controllers/EmployeeRestController.php index d373384d..69ff7201 100755 --- a/app/Controllers/EmployeeRestController.php +++ b/app/Controllers/EmployeeRestController.php @@ -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]; }