Fixed Bug at "Show/Hide Version Info for all"

This commit is contained in:
int2001 2023-12-06 05:58:41 +00:00
parent 81f330738e
commit 402f5428b2
No known key found for this signature in database
GPG Key ID: DFB1C13CD2DB037B

View File

@ -25,9 +25,9 @@ class User_options_model extends CI_Model {
ON DUPLICATE KEY UPDATE option_value = ?';
foreach ($option_array as $option_key => $option_value) {
$this->db->query($sql, array($user_id, $option_type, $option_name, $option_key, $option_value, $option_value));
return true;
}
}
return true;
} else {
log_message('error','set_option_at_all_users() failed because users table is empty');
}