Fixed version check (had it flipped for testing purposes)

This commit is contained in:
Andreas Kristiansen
2026-02-04 16:16:34 +01:00
parent 0eab18c03a
commit f611442a36

View File

@@ -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);