mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
fix: use correct data source for radio cat_timeout
This commit is contained in:
@@ -303,7 +303,7 @@ class Widgets extends CI_Controller {
|
||||
$query_param_value = $this->input->get('radio_timeout_seconds', true);
|
||||
|
||||
if (is_numeric($query_param_value) === false || empty($query_param_value)) {
|
||||
return intval($this->config->item('radio_timeout_seconds'));
|
||||
return intval($this->optionslib->get_option('cat_timeout_interval'));
|
||||
}
|
||||
|
||||
$radio_timeout_seconds = intval($query_param_value);
|
||||
|
||||
Reference in New Issue
Block a user