Fix case when adding new user, make widget url variable in UI conditional to preven php warning

This commit is contained in:
Filip Melík
2025-02-19 20:36:21 +01:00
parent 3f13781ebe
commit 85bc1fa265
3 changed files with 25 additions and 2 deletions

View File

@@ -285,6 +285,9 @@ class User extends CI_Controller {
$this->input->post('user_clublog_name'),
$this->input->post('user_clublog_password'),
$this->input->post('user_winkey'),
$this->input->post('on_air_widget_enabled'),
$this->input->post('on_air_widget_display_last_seen'),
$this->input->post('on_air_widget_show_only_most_recent_radio'),
$this->input->post('clubstation') == '1' ? true : false
)) {
// Check for errors