mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
catch edgecase if an operator directly logs into a clubstation
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user