mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fixes Bug where Modes are not shown correct
This commit is contained in:
@@ -122,6 +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'] = 'digi';
|
||||
$modestats[$i]['total'] = $this->logbook_model->total_digi($yr);
|
||||
usort($modestats, fn($a, $b) => $b['total'] <=> $a['total']);
|
||||
|
||||
Reference in New Issue
Block a user