kopia lustrzana https://github.com/magicbug/Cloudlog
Fixed handling of empty continent of spotter
rodzic
4717ca2252
commit
aa1efb5b53
|
@ -57,7 +57,7 @@ class Dxcluster_model extends CI_Model {
|
|||
$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 (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);
|
||||
array_push($spotsout,$singlespot);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue