diff --git a/src/Http/Controllers/MasterSupervisorController.php b/src/Http/Controllers/MasterSupervisorController.php index fdd1f6ca..24e66e68 100644 --- a/src/Http/Controllers/MasterSupervisorController.php +++ b/src/Http/Controllers/MasterSupervisorController.php @@ -33,7 +33,7 @@ public function index(MasterSupervisorRepository $masters, 'status' => 'inactive', 'processes' => [], 'options' => [ - 'queue' => (array_key_exists('queue', $value) && is_array($value['queue']) ? implode(',', $value['queue']) : $value['queue']) ?? '', + 'queue' => array_key_exists('queue', $value) && is_array($value['queue']) ? implode(',', $value['queue']) : ($value['queue'] ?? ''), 'balance' => $value['balance'] ?? null, ], ];