Changed IFs to include isset
这个提交包含在:
		
							父节点
							
								
									e2fd678f58
								
							
						
					
					
						当前提交
						bd7ef2ec6c
					
				
					共有  1 个文件被更改,包括 2 次插入 和 2 次删除
				
			
		|  | @ -465,11 +465,11 @@ class Logbook_model extends CI_Model { | ||||||
|       $adif .= '<cqz:' . strlen($data['COL_CQZ']) . '>' . $data['COL_CQZ']; |       $adif .= '<cqz:' . strlen($data['COL_CQZ']) . '>' . $data['COL_CQZ']; | ||||||
|       //$adif .= '<ituz:' . strlen($data['COL_ITUZ']) . '>' . $data['COL_ITUZ']; -- not yet implemented
 |       //$adif .= '<ituz:' . strlen($data['COL_ITUZ']) . '>' . $data['COL_ITUZ']; -- not yet implemented
 | ||||||
| 
 | 
 | ||||||
|       if($data['COL_LOTW_QSL_SENT']) { |       if(isset($data['COL_LOTW_QSL_SENT'])) { | ||||||
|          $adif .= '<lotw_qsl_sent:' . strlen($data['COL_LOTW_QSL_SENT']) . '>' . $data['COL_LOTW_QSL_SENT']; |          $adif .= '<lotw_qsl_sent:' . strlen($data['COL_LOTW_QSL_SENT']) . '>' . $data['COL_LOTW_QSL_SENT']; | ||||||
|       } |       } | ||||||
| 	   | 	   | ||||||
|       if($data['COL_LOTW_QSL_RCVD']) { |       if(isset($data['COL_LOTW_QSL_RCVD'])) { | ||||||
|          $adif .= '<lotw_qsl_rcvd:' . strlen($data['COL_LOTW_QSL_RCVD']) . '>' . $data['COL_LOTW_QSL_RCVD']; |          $adif .= '<lotw_qsl_rcvd:' . strlen($data['COL_LOTW_QSL_RCVD']) . '>' . $data['COL_LOTW_QSL_RCVD']; | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用