Forgot changes in the controller

This commit is contained in:
Andreas Kristiansen
2025-03-31 13:26:05 +02:00
parent e290d22065
commit e3746a672a

View File

@@ -271,6 +271,7 @@ class Satellite extends CI_Controller {
} else { // All SATs
$data = $this->calcPasses($tles, $yourgrid, $date, $mintime,$minelevation);
}
$this->load->view('satellite/passtable', $data);
}
catch (Exception $e) {
@@ -529,6 +530,16 @@ class Satellite extends CI_Controller {
}
public function getSatelliteInfo() {
if($this->session->userdata('user_date_format')) {
// If Logged in and session exists
$custom_date_format = $this->session->userdata('user_date_format');
} else {
// Get Default date format from /config/wavelog.php
$custom_date_format = $this->config->item('qso_date_format');
}
$data['custom_date_format'] = $custom_date_format;
$satname = $this->security->xss_clean($this->input->post('sat', true));
$this->load->model('satellite_model');