From 2af06ed216385c15e311d10432391b1118fea761 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sun, 30 Aug 2020 21:59:02 +0200 Subject: [PATCH] Fixed casing on band import, and band select in edit. --- application/models/Logbook_model.php | 2 +- application/views/qso/edit.php | 34 ++++++++++++++-------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 0b7cfcef..fffbdd35 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -1528,7 +1528,7 @@ class Logbook_model extends CI_Model { // Store Band if(isset($record['band'])) { - $band = $record['band']; + $band = strtolower($record['band']); } else { if (isset($record['freq'])){ if($freq != "0") { diff --git a/application/views/qso/edit.php b/application/views/qso/edit.php index 773c3326..e9377abc 100755 --- a/application/views/qso/edit.php +++ b/application/views/qso/edit.php @@ -88,29 +88,29 @@