From cf760c6ac6a13125dff79b8590ea41eaeb90d473 Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Fri, 27 Sep 2024 21:11:12 +0200 Subject: [PATCH] [DOK Award] Fix an error when no bands are selected in DOK --- application/models/Dok.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Dok.php b/application/models/Dok.php index d9d4c967f..4d6ae2728 100644 --- a/application/models/Dok.php +++ b/application/models/Dok.php @@ -8,6 +8,7 @@ class DOK extends CI_Model { function get_dok_array($bands, $postdata, $location_list) { $doks = array(); + $bandDok = array(); $list = $this->getDoksFromDB($location_list); foreach ($this->getSdoksFromDB($location_list) as $sdok) {