From 6ddd72c3258af874757419f09606d69fab517099 Mon Sep 17 00:00:00 2001 From: int2001 Date: Sun, 1 Dec 2024 10:54:12 +0000 Subject: [PATCH] Added Yr where missing --- application/controllers/Statistics.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Statistics.php b/application/controllers/Statistics.php index cf1c4b612..7b1ad08c2 100644 --- a/application/controllers/Statistics.php +++ b/application/controllers/Statistics.php @@ -195,7 +195,7 @@ class Statistics extends CI_Controller { $total_qsos = array(); $yr = xss_clean($this->input->post('yr')) ?? 'All'; - $result = $this->stats->unique_callsigns(); + $result = $this->stats->unique_callsigns($yr); $total_qsos['qsoarray'] = $result['qsoView']; $total_qsos['bandunique'] = $result['bandunique']; $total_qsos['modeunique'] = $result['modeunique']; @@ -227,7 +227,7 @@ class Statistics extends CI_Controller { $total_qsos = array(); $yr = xss_clean($this->input->post('yr')) ?? 'All'; - $result = $this->stats->total_qsos(); + $result = $this->stats->total_qsos($yr); $total_qsos['qsoarray'] = $result['qsoView']; $total_qsos['bandtotal'] = $result['bandtotal']; $total_qsos['modetotal'] = $result['modetotal'];