diff --git a/app/Http/Controllers/MiningTaxes/MiningTaxesAdminController.php b/app/Http/Controllers/MiningTaxes/MiningTaxesAdminController.php index c3ac8c880..6729ff007 100644 --- a/app/Http/Controllers/MiningTaxes/MiningTaxesAdminController.php +++ b/app/Http/Controllers/MiningTaxes/MiningTaxesAdminController.php @@ -181,12 +181,10 @@ class MiningTaxesAdminController extends Controller //Get the structure info from the database or esi $tempObserverInfo = $structure->GetStructureInfo($item['observer_id']); - dd($tempObserverInfo); - //Create the array for the line by line array_push($moons, [ 'character_name' => $item['character_name'], - 'observer_name' => $tempObserverInfo->name, + 'observer_name' => $tempObserverInfo->structure_name, 'type_id' => $item['type_id'], 'ore_name' => $item['ore_name'], 'quantity' => $item['quantity'], diff --git a/app/Http/Controllers/MiningTaxes/MiningTaxesController.php b/app/Http/Controllers/MiningTaxes/MiningTaxesController.php index 2ec737a1b..5160de5da 100644 --- a/app/Http/Controllers/MiningTaxes/MiningTaxesController.php +++ b/app/Http/Controllers/MiningTaxes/MiningTaxesController.php @@ -381,7 +381,7 @@ class MiningTaxesController extends Controller //Create the array for the line by line array_push($moons, [ 'character_name' => $item['character_name'], - 'observer_name' => $tempObserverInfo->name, + 'observer_name' => $tempObserverInfo->structure_name, 'type_id' => $item['type_id'], 'ore_name' => $item['ore_name'], 'quantity' => $item['quantity'],