mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
More replacements ...
This commit is contained in:
@@ -37,7 +37,7 @@ class Station extends CI_Controller
|
||||
if ($this->form_validation->run() == FALSE) {
|
||||
$data['page_title'] = __("Create Station Location");
|
||||
$data['station_profile_name'] = $this->input->post('station_profile_name');
|
||||
$data['station_callsign'] = $this->input->post('station_callsign');
|
||||
$data['station_callsign'] = str_replace('Ø', '0', ($this->input->post('station_callsign') ?? ''));
|
||||
$data['station_power'] = $this->input->post('station_power');
|
||||
$data['dxcc'] = $this->input->post('dxcc');
|
||||
$data['city'] = $this->input->post('city');
|
||||
|
||||
@@ -139,7 +139,7 @@ class Stations extends CI_Model {
|
||||
'station_pota' => xss_clean(strtoupper($this->input->post('pota', true))),
|
||||
'station_sig' => xss_clean(strtoupper($this->input->post('sig', true))),
|
||||
'station_sig_info' => xss_clean(strtoupper($this->input->post('sig_info', true))),
|
||||
'station_callsign' => trim(xss_clean(strtoupper($this->input->post('station_callsign', true)))),
|
||||
'station_callsign' => str_replace('Ø', '0', trim(xss_clean(strtoupper($this->input->post('station_callsign', true))))),
|
||||
'station_power' => is_numeric(xss_clean($this->input->post('station_power', true))) ? xss_clean($this->input->post('station_power', true)) : NULL,
|
||||
'station_dxcc' => xss_clean($this->input->post('dxcc', true)),
|
||||
'station_cnty' => $county,
|
||||
@@ -219,7 +219,7 @@ class Stations extends CI_Model {
|
||||
'station_pota' => xss_clean(strtoupper($this->input->post('pota', true))),
|
||||
'station_sig' => xss_clean(strtoupper($this->input->post('sig', true))),
|
||||
'station_sig_info' => xss_clean(strtoupper($this->input->post('sig_info', true))),
|
||||
'station_callsign' => trim(xss_clean(strtoupper($this->input->post('station_callsign', true)))),
|
||||
'station_callsign' => str_replace('Ø', '0', trim(xss_clean(strtoupper($this->input->post('station_callsign', true))))),
|
||||
'station_power' => is_numeric(xss_clean($this->input->post('station_power', true))) ? xss_clean($this->input->post('station_power', true)) : NULL,
|
||||
'station_dxcc' => xss_clean($this->input->post('dxcc', true)),
|
||||
'station_cnty' => $county,
|
||||
|
||||
Reference in New Issue
Block a user