Orbit for JSON-Result...

This commit is contained in:
int2001
2026-02-06 17:23:21 +00:00
parent e317aec1ec
commit c0596051df

View File

@@ -668,9 +668,11 @@ class Logbookadvanced_model extends CI_Model {
$row->sat_name = $row->COL_SAT_NAME ?? null;
$row->sat_displayname = null;
$row->sat_orbit = null;
$row->orbit = null;
if (!empty($row->COL_SAT_NAME) && isset($satellites[$row->COL_SAT_NAME])) {
$row->sat_displayname = $satellites[$row->COL_SAT_NAME]['displayname'];
$row->sat_orbit = $satellites[$row->COL_SAT_NAME]['orbit'];
$row->orbit = $satellites[$row->COL_SAT_NAME]['orbit'];
}
}
unset($row);