[LoTW][Upload] Remaps CA Prov QC to PQ
Thanks to @ve1cwj for reporting issue that LoTW expects PQ rather than QC as the CA Prov 👎
			
			
这个提交包含在:
		
							父节点
							
								
									2613c838e3
								
							
						
					
					
						当前提交
						c4c291ccab
					
				
					共有  2 个文件被更改,包括 11 次插入 和 1 次删除
				
			
		| 
						 | 
					@ -912,6 +912,16 @@ class Lotw extends CI_Controller {
 | 
				
			||||||
		return array_search(strtoupper($satname),$arr,true);
 | 
							return array_search(strtoupper($satname),$arr,true);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						function lotw_ca_province_map($ca_prov) {
 | 
				
			||||||
 | 
							switch ($ca_prov):
 | 
				
			||||||
 | 
								case "QC":
 | 
				
			||||||
 | 
									return "PQ";
 | 
				
			||||||
 | 
									break;
 | 
				
			||||||
 | 
								default:
 | 
				
			||||||
 | 
									return $ca_prov;
 | 
				
			||||||
 | 
							endswitch;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
	|	Function: mode_map
 | 
						|	Function: mode_map
 | 
				
			||||||
	|	Requires: mode as $mode, submode as $submode
 | 
						|	Requires: mode as $mode, submode as $submode
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,7 +27,7 @@ $cert2 = str_replace("-----END CERTIFICATE-----", "", $cert1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<?php if(isset($station_profile->station_iota)) { ?><IOTA:<?php echo strlen($station_profile->station_iota); ?>><?php echo $station_profile->station_iota; ?><?php } ?>
 | 
					<?php if(isset($station_profile->station_iota)) { ?><IOTA:<?php echo strlen($station_profile->station_iota); ?>><?php echo $station_profile->station_iota; ?><?php } ?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<?php if($station_profile->state != "" && $station_profile->station_country == "CANADA") { ?><CA_PROVINCE:<?php echo strlen($station_profile->state); ?>><?php echo $station_profile->state; ?><?php } ?>
 | 
					<?php if($station_profile->state != "" && $station_profile->station_country == "CANADA") { ?><CA_PROVINCE:<?php echo strlen($CI->lotw_ca_province_map($station_profile->state)); ?>><?php echo $CI->lotw_ca_province_map($station_profile->state); ?><?php } ?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<?php if($station_profile->state != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?><US_STATE:<?php echo strlen($station_profile->state); ?>><?php echo $station_profile->state; ?><?php } ?>
 | 
					<?php if($station_profile->state != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?><US_STATE:<?php echo strlen($station_profile->state); ?>><?php echo $station_profile->state; ?><?php } ?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		正在加载…
	
		在新工单中引用