diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php
index 9632051d..ef107a06 100755
--- a/application/models/Logbook_model.php
+++ b/application/models/Logbook_model.php
@@ -2415,16 +2415,16 @@ class Logbook_model extends CI_Model {
if (isset($record['lotw_qsl_rcvd'])){
$input_lotw_qsl_rcvd = mb_strimwidth($record['lotw_qsl_rcvd'], 0, 1);
} else {
- $input_lotw_qsl_rcvd = "";
+ $input_lotw_qsl_rcvd = NULL;
}
if (isset($record['lotw_qsl_sent'])){
- $input_lotw_qsl_sent = mb_strimwidth($record['lotw_qsl_sent'], 0, 1);
- } else if ($markLotw != NULL) {
- $input_lotw_qsl_sent = "Y";
- } else {
- $input_lotw_qsl_sent = "";
- }
+ $input_lotw_qsl_sent = mb_strimwidth($record['lotw_qsl_sent'], 0, 1);
+ } else if ($markLotw != NULL) {
+ $input_lotw_qsl_sent = "Y";
+ } else {
+ $input_lotw_qsl_sent = NULL;
+ }
if (isset($record['lotw_qslrdate'])){
if(validateADIFDate($record['lotw_qslrdate']) == true){
diff --git a/application/views/search/result_search.php b/application/views/search/result_search.php
index be398cf8..2351cc34 100644
--- a/application/views/search/result_search.php
+++ b/application/views/search/result_search.php
@@ -57,10 +57,8 @@
session->userdata('user_lotw_name') != "") { ?>
- COL_LOTW_QSL_SENT != ''){ ?>
▲
▼
-
|
diff --git a/application/views/view_log/partial/log.php b/application/views/view_log/partial/log.php
index 7b2e0491..f1d4fbc0 100644
--- a/application/views/view_log/partial/log.php
+++ b/application/views/view_log/partial/log.php
@@ -107,10 +107,8 @@
session->userdata('user_lotw_name') != "") { ?>
- COL_LOTW_QSL_SENT != ''){ ?>
▲
▼
-
|
diff --git a/application/views/view_log/partial/log_ajax.php b/application/views/view_log/partial/log_ajax.php
index cc9b539a..07deb526 100644
--- a/application/views/view_log/partial/log_ajax.php
+++ b/application/views/view_log/partial/log_ajax.php
@@ -188,10 +188,8 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
session->userdata('user_lotw_name') != "") { ?>
- COL_LOTW_QSL_SENT != ''){ ?>
- COL_LOTW_QSL_SENT == "Y") { $timestamp = strtotime($row->COL_LOTW_QSLSDATE); echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_sent')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="lotw-COL_LOTW_QSL_SENT=='Y')?'green':'red'?>">▲
- COL_LOTW_QSL_RCVD == "Y") { $timestamp = strtotime($row->COL_LOTW_QSLRDATE); echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_received')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="lotw-COL_LOTW_QSL_RCVD=='Y')?'green':'red'?>">▼
-
+ COL_LOTW_QSL_SENT == "Y") { $timestamp = strtotime($row->COL_LOTW_QSLSDATE); echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_sent')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="lotw-COL_LOTW_QSL_SENT=='Y')?'green':'red'?>">▲
+ COL_LOTW_QSL_RCVD == "Y") { $timestamp = strtotime($row->COL_LOTW_QSLRDATE); echo "data-original-title=\"".$this->lang->line('lotw_short')." ".$this->lang->line('general_word_received')." ".($timestamp!=''?date($custom_date_format, $timestamp):'')."\" data-toggle=\"tooltip\""; } ?> class="lotw-COL_LOTW_QSL_RCVD=='Y')?'green':'red'?>">▼
|