AM wasn't fetched

This commit is contained in:
int2001
2024-12-03 11:44:15 +00:00
parent 318f94f007
commit be7e7b6104
2 changed files with 4 additions and 4 deletions

View File

@@ -122,8 +122,8 @@ class Statistics extends CI_Controller {
$modestats[$i++]['total'] = $this->logbook_model->total_cw($yr);
$modestats[$i]['mode'] = 'fm';
$modestats[$i++]['total'] = $this->logbook_model->total_fm($yr);
$modestats[$i]['mode'] = 'others';
$modestats[$i++]['total'] = $this->logbook_model->total_others($yr);
$modestats[$i]['mode'] = 'am';
$modestats[$i++]['total'] = $this->logbook_model->total_am($yr);
$modestats[$i]['mode'] = 'digi';
$modestats[$i]['total'] = $this->logbook_model->total_digi($yr);
usort($modestats, fn($a, $b) => $b['total'] <=> $a['total']);