mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
fix bug counting contests
This commit is contained in:
@@ -236,10 +236,12 @@ class adif extends CI_Controller {
|
||||
//check if contest_id exists in record and extract all found contest_ids
|
||||
if(array_key_exists('contest_id', $record)){
|
||||
$contest_id = $record['contest_id'];
|
||||
if(array_key_exists($contest_id, $contest_qso_infos)){
|
||||
$contest_qso_infos[$contest_id] += 1;
|
||||
}else{
|
||||
$contest_qso_infos[$contest_id] = 1;
|
||||
if($contest_id != ''){
|
||||
if(array_key_exists($contest_id, $contest_qso_infos)){
|
||||
$contest_qso_infos[$contest_id] += 1;
|
||||
}else{
|
||||
$contest_qso_infos[$contest_id] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user