diff --git a/Modules/Agents/Services/AgentService.php b/Modules/Agents/Services/AgentService.php index 126f53e..afb936a 100644 --- a/Modules/Agents/Services/AgentService.php +++ b/Modules/Agents/Services/AgentService.php @@ -212,7 +212,7 @@ class AgentService continue; // skip } if (!empty($input['agents_code'])) { // if existing up_geant - if (strtolower($vAgent->code) != strtolower($input['agents_code'])) + if (strtolower($vByAgent->code) != strtolower($input['agents_code'])) continue; // skip } $finalDataTemp[] = [