Merge pull request #2783 from int2001/version_info_fix

Fixed Bug at "Show/Hide Version Info for all"
这个提交包含在:
Andreas Kristiansen 2023-12-06 17:25:39 +01:00 提交者 GitHub
当前提交 f24ffd876b
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -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');
}