diff --git a/app/Http/Controllers/Dashboard/DashboardController.php b/app/Http/Controllers/Dashboard/DashboardController.php index 521f06c..98a8207 100644 --- a/app/Http/Controllers/Dashboard/DashboardController.php +++ b/app/Http/Controllers/Dashboard/DashboardController.php @@ -31,6 +31,7 @@ class DashboardController extends Controller foreach($tempContracts as $con) { if($con->status != 'finished') { + //Find start and end station. Need to work on how to tell citadels later. $startStation = $lookupHelper->GetStationDetails($con->start_location_id); $endStation = $lookupHelper->GetStationDetails($con->end_location_id); @@ -44,7 +45,7 @@ class DashboardController extends Controller if(isset($endStation->system_id)) { $endSystem = $lookupHelper->GetSolarSystemName($endStation->system_id); } else { - $endStation = 'N/A'; + $endSystem = 'N/A'; } //Compile the final array