Handle non-SAT cases without throwing errors

* Also test mode and frequency for != "NULL"
* Remove useless code
* Forgotten change of variable name
* Set NULL as default for missing frequency
This commit is contained in:
Florian (DF2ET)
2022-09-29 23:06:06 +02:00
committed by GitHub
parent 07b7930f64
commit f39a561a3a
2 changed files with 28 additions and 12 deletions

View File

@@ -118,7 +118,7 @@
}
// Get Satellite Mode
$uplink_mode = $this->get_mode_designator($row->uplink_freq);
$uplink_mode = $this->get_mode_designator($row->frequency);
$downlink_mode = $this->get_mode_designator($row->downlink_freq);
if (empty($uplink_mode)) {