Merge pull request #2325 from int2001/bandmap_empty_de_fix
Fixed handling of empty continent of spotter
这个提交包含在:
		
						当前提交
						5d66553801
					
				
					共有  1 个文件被更改,包括 1 次插入 和 1 次删除
				
			
		| 
						 | 
					@ -57,7 +57,7 @@ class Dxcluster_model extends CI_Model {
 | 
				
			||||||
					    	$singlespot->dxcc_spotter=$dxcc;
 | 
										    	$singlespot->dxcc_spotter=$dxcc;
 | 
				
			||||||
					    }
 | 
										    }
 | 
				
			||||||
					    if ( ($de != '') && ($de != 'Any') && (property_exists($singlespot->dxcc_spotter,'cont')) ){	// If we have a "de continent" and a filter-wish filter on that
 | 
										    if ( ($de != '') && ($de != 'Any') && (property_exists($singlespot->dxcc_spotter,'cont')) ){	// If we have a "de continent" and a filter-wish filter on that
 | 
				
			||||||
						    if (strtolower($de) == strtolower($singlespot->dxcc_spotter->cont)) {
 | 
											    if (strtolower($de) == strtolower($singlespot->dxcc_spotter->cont ?? '')) {
 | 
				
			||||||
							    $singlespot->worked_call = ($this->logbook_model->check_if_callsign_worked_in_logbook($singlespot->spotted, $logbooks_locations_array, $singlespot->band) == 1);
 | 
												    $singlespot->worked_call = ($this->logbook_model->check_if_callsign_worked_in_logbook($singlespot->spotted, $logbooks_locations_array, $singlespot->band) == 1);
 | 
				
			||||||
							    array_push($spotsout,$singlespot);
 | 
												    array_push($spotsout,$singlespot);
 | 
				
			||||||
						    }
 | 
											    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		正在加载…
	
		在新工单中引用