mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added xss_clean
This commit is contained in:
@@ -566,32 +566,32 @@ class Stationsetup extends CI_Controller {
|
||||
// Data for station_profile
|
||||
$dbdata = [
|
||||
'station_active' => 0,
|
||||
'station_profile_name' => $loc['station_profile_name'] ?? null,
|
||||
'station_gridsquare' => $loc['station_gridsquare'] ?? null,
|
||||
'station_city' => $loc['station_city'] ?? null,
|
||||
'station_iota' => $loc['station_iota'] ?? null,
|
||||
'station_sota' => $loc['station_sota'] ?? null,
|
||||
'station_callsign' => $loc['station_callsign'] ?? null,
|
||||
'station_power' => $loc['station_power'] ?? null,
|
||||
'station_dxcc' => $loc['station_dxcc'] ?? null,
|
||||
'station_cq' => $loc['station_cq'] ?? null,
|
||||
'station_itu' => $loc['station_itu'] ?? null,
|
||||
'station_sig' => $loc['station_sig'] ?? null,
|
||||
'station_sig_info' => $loc['station_sig_info'] ?? null,
|
||||
'station_wwff' => $loc['station_wwff'] ?? null,
|
||||
'station_pota' => $loc['station_pota'] ?? null,
|
||||
'state' => $loc['state'] ?? null,
|
||||
'station_cnty' => $loc['station_cnty'] ?? null,
|
||||
'qrzrealtime' => $loc['qrzrealtime'] ?? 0,
|
||||
'oqrs' => $loc['oqrs'] ?? 0,
|
||||
'oqrs_text' => $loc['oqrs_text'] ?? null,
|
||||
'oqrs_email' => $loc['oqrs_email'] ?? null,
|
||||
'webadifrealtime' => $loc['webadifrealtime'] ?? null,
|
||||
'clublogignore' => $loc['clublogignore'] ?? 1,
|
||||
'clublogrealtime' => $loc['clublogrealtime'] ?? 0,
|
||||
'hrdlogrealtime' => $loc['hrdlogrealtime'] ?? 0,
|
||||
'hrdlog_username' => $loc['hrdlog_username'] ?? null,
|
||||
'eqslqthnickname' => $loc['eqslqthnickname'] ?? null,
|
||||
'station_profile_name' => xss_clean($loc['station_profile_name']) ?? null,
|
||||
'station_gridsquare' => xss_clean($loc['station_gridsquare']) ?? null,
|
||||
'station_city' => xss_clean($loc['station_city']) ?? null,
|
||||
'station_iota' => xss_clean($loc['station_iota']) ?? null,
|
||||
'station_sota' => xss_clean($loc['station_sota']) ?? null,
|
||||
'station_callsign' => xss_clean($loc['station_callsign']) ?? null,
|
||||
'station_power' => xss_clean($loc['station_power']) ?? null,
|
||||
'station_dxcc' => xss_clean($loc['station_dxcc']) ?? null,
|
||||
'station_cq' => xss_clean($loc['station_cq']) ?? null,
|
||||
'station_itu' => xss_clean($loc['station_itu']) ?? null,
|
||||
'station_sig' => xss_clean($loc['station_sig']) ?? null,
|
||||
'station_sig_info' => xss_clean($loc['station_sig_info']) ?? null,
|
||||
'station_wwff' => xss_clean($loc['station_wwff']) ?? null,
|
||||
'station_pota' => xss_clean($loc['station_pota']) ?? null,
|
||||
'state' => xss_clean($loc['state']) ?? null,
|
||||
'station_cnty' => xss_clean($loc['station_cnty']) ?? null,
|
||||
'qrzrealtime' => xss_clean($loc['qrzrealtime']) ?? 0,
|
||||
'oqrs' => xss_clean($loc['oqrs']) ?? 0,
|
||||
'oqrs_text' => xss_clean($loc['oqrs_text']) ?? null,
|
||||
'oqrs_email' => xss_clean($loc['oqrs_email']) ?? null,
|
||||
'webadifrealtime' => xss_clean($loc['webadifrealtime']) ?? null,
|
||||
'clublogignore' => xss_clean($loc['clublogignore']) ?? 1,
|
||||
'clublogrealtime' => xss_clean($loc['clublogrealtime']) ?? 0,
|
||||
'hrdlogrealtime' => xss_clean($loc['hrdlogrealtime']) ?? 0,
|
||||
'hrdlog_username' => xss_clean($loc['hrdlog_username']) ?? null,
|
||||
'eqslqthnickname' => xss_clean($loc['eqslqthnickname']) ?? null,
|
||||
'webadifapiurl' => 'https://qo100dx.club/api',
|
||||
'user_id' => $this->session->userdata('user_id'),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user