catch edgecase if an operator directly logs into a clubstation

This commit is contained in:
HB9HIL
2026-02-15 19:00:43 +01:00
parent 22f7d0b78a
commit ab196adfdc

View File

@@ -381,7 +381,7 @@ class Radio extends CI_Controller {
}
private function _get_optionname() {
if ($this->_is_clubstation()) {
if ($this->_is_clubstation() && ($this->session->userdata('source_uid') ?? '') != '') {
return 'default_clubradio_' . $this->session->userdata('user_id');
} else {
return 'default_radio';