[DOK Award] Fix an error when no bands are selected in DOK

This commit is contained in:
Andreas Kristiansen
2024-09-27 21:11:12 +02:00
parent 50d07a08be
commit cf760c6ac6

View File

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