From e4071d7b13ca29852f6e89a130f9d03f0620b3fd Mon Sep 17 00:00:00 2001 From: phl0 Date: Sat, 22 Mar 2025 07:50:20 +0100 Subject: [PATCH] Restore link from pass page --- application/controllers/Satellite.php | 2 +- application/views/satellite/flightpath.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Satellite.php b/application/controllers/Satellite.php index 1e2257a08..ca8a3492b 100644 --- a/application/controllers/Satellite.php +++ b/application/controllers/Satellite.php @@ -192,7 +192,7 @@ class Satellite extends CI_Controller { $this->load->model('stations'); $pageData['satellites'] = $this->satellite_model->get_all_satellites_with_tle(); - $data['lastworkedsat'] = $this->satellite_model->get_last_worked_sat(); + $data['selsat']=strtoupper($sat ?? $this->satellite_model->get_last_worked_sat()); $footerData = []; $footerData['scripts'] = [ diff --git a/application/views/satellite/flightpath.php b/application/views/satellite/flightpath.php index fd36cc01c..674dbba9d 100644 --- a/application/views/satellite/flightpath.php +++ b/application/views/satellite/flightpath.php @@ -40,7 +40,7 @@