Fixed error when sat_mode is null
这个提交包含在:
		
							父节点
							
								
									33d469f4b8
								
							
						
					
					
						当前提交
						4387a5b2ed
					
				
					共有  1 个文件被更改,包括 1 次插入 和 1 次删除
				
			
		|  | @ -216,7 +216,7 @@ class Labels extends CI_Controller { | ||||||
| 	} | 	} | ||||||
| 	// New begin
 | 	// New begin
 | ||||||
| 	function pretty_sat_mode($sat_mode) { | 	function pretty_sat_mode($sat_mode) { | ||||||
| 		return(strlen($sat_mode) == 2 ? (strtoupper($sat_mode[0]).'/'.strtoupper($sat_mode[1])) : strtoupper($sat_mode)); | 		return(strlen($sat_mode ?? '') == 2 ? (strtoupper($sat_mode[0]).'/'.strtoupper($sat_mode[1])) : strtoupper($sat_mode ?? '')); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	function finalizeData($pdf, $current_callsign, &$preliminaryData, $qso_per_label) { | 	function finalizeData($pdf, $current_callsign, &$preliminaryData, $qso_per_label) { | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用