From f611442a362afe869d70d6b7c81259ce9e5bd37a Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:16:34 +0100 Subject: [PATCH] Fixed version check (had it flipped for testing purposes) --- application/models/Accumulate_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Accumulate_model.php b/application/models/Accumulate_model.php index 86125db04..29742245d 100644 --- a/application/models/Accumulate_model.php +++ b/application/models/Accumulate_model.php @@ -42,7 +42,7 @@ class Accumulate_model extends CI_Model $dbversion = $this->db->version(); $dbversion = explode('.', $dbversion); - if ($dbversion[0] <= "8") { + if ($dbversion[0] >= "8") { return $this->get_accumulated_by_column_fast($band, $mode, $propmode, $period, $location_list, $column, $where_condition, $outer_where_condition); } else { return $this->get_accumulated_by_column_slow($band, $mode, $propmode, $period, $location_list, $column, $where_condition, $where_check, $outer_where_condition);