mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Orbit for JSON-Result...
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user