Fix Also Update STATION_CALLSIGN when updating location
这个提交包含在:
		
							父节点
							
								
									fa7d50e8ba
								
							
						
					
					
						当前提交
						af6eb36eca
					
				
					共有  1 个文件被更改,包括 6 次插入 和 2 次删除
				
			
		|  | @ -904,6 +904,9 @@ class Logbook_model extends CI_Model { | |||
| 	    return; | ||||
|     } | ||||
| 
 | ||||
|     $station_profile=$CI->stations->profile_clean($stationId); | ||||
|     $stationCallsign=$station_profile->station_callsign; | ||||
| 
 | ||||
|     $mode = $this->get_main_mode_if_submode($this->input->post('mode')); | ||||
|     if ($mode == null) { | ||||
|         $mode = $this->input->post('mode'); | ||||
|  | @ -930,7 +933,7 @@ class Logbook_model extends CI_Model { | |||
|       $srx_string = null; | ||||
|     } | ||||
| 
 | ||||
| 	if (stristr($this->input->post('usa_county'), ',')) { | ||||
| 	if (stristr($this->input->post('usa_county') ?? '', ',')) { | ||||
| 		$uscounty = $this->input->post('usa_county'); | ||||
| 	} else { | ||||
| 		$uscounty = $this->input->post('usa_state') .",".$this->input->post('usa_county'); | ||||
|  | @ -1076,6 +1079,7 @@ class Logbook_model extends CI_Model { | |||
|        'COL_CONTEST_ID' => $this->input->post('contest_name'), | ||||
|        'COL_QSL_VIA' => $this->input->post('qsl_via_callsign'), | ||||
|        'station_id' => $stationId, | ||||
|        'COL_STATION_CALLSIGN' => $stationCallsign, | ||||
|        'COL_OPERATOR' => $this->input->post('operator_callsign'), | ||||
|        'COL_STATE' =>$this->input->post('usa_state'), | ||||
|        'COL_CNTY' => $uscounty | ||||
|  |  | |||
		正在加载…
	
		在新工单中引用