diff --git a/templates/webpanel/Model/Conn.php b/templates/webpanel/Model/Conn.php index f6c522e..e32fe69 100644 --- a/templates/webpanel/Model/Conn.php +++ b/templates/webpanel/Model/Conn.php @@ -53,12 +53,14 @@ switch($pass['sat_type']) { case 0: $ending = "-122-rectified.jpg"; + break; case 1: if ($pass['daylight_pass'] == 1) { $enhacements = ['-ZA.jpg','-MCIR.jpg','-MCIR-precip.jpg','-MSA.jpg','-MSA-precip.jpg','-HVC.jpg','-HVC-precip.jpg','-HVCT.jpg','-HVCT-precip.jpg']; } else { $enhacements = ['-ZA.jpg','-MCIR.jpg','-MCIR-precip.jpg']; } + break; } return $enhacements; } diff --git a/templates/webpanel/Views/V_viewLastImages.php b/templates/webpanel/Views/V_viewLastImages.php index 08a5a90..d7dc936 100644 --- a/templates/webpanel/Views/V_viewLastImages.php +++ b/templates/webpanel/Views/V_viewLastImages.php @@ -23,8 +23,10 @@ switch($image['sat_type']) { case 0: $ending = "-122-rectified.jpg"; + break; case 1: $ending = "-MCIR.jpg"; + break; } echo "