Skip to content

Commit

Permalink
2.59.5 Made setting of attributes for new signals when adding from lo…
Browse files Browse the repository at this point in the history
…gs import much safer
  • Loading branch information
classaxe committed Oct 29, 2023
1 parent d56f08f commit f5fc1ed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Controller/Web/Signals/SignalView.php
Expand Up @@ -56,12 +56,12 @@ public function controller(
->setActive(true)
->setType(0)
->setCall($d['ID'])
->setDecommissioned($d['decommissioned'])
->setKhz($d['KHZ'])
->setQth($d['QTH'])
->setSp($d['SP'])
->setItu($d['ITU'])
->setGsq($d['GSQ'])
->setDecommissioned($d['decommissioned'] ?? 0)
->setKhz($d['KHZ'] ?? 0)
->setQth($d['QTH'] ?? '')
->setSp($d['SP'] ?? '')
->setItu($d['ITU' ?? ''])
->setGsq($d['GSQ' ?? ''])
->setHeardIn('');
}
}
Expand Down

0 comments on commit f5fc1ed

Please sign in to comment.