diff --git a/application/views/qso/index.php b/application/views/qso/index.php
index 93ccd14d..4a8ac031 100755
--- a/application/views/qso/index.php
+++ b/application/views/qso/index.php
@@ -65,7 +65,7 @@
diff --git a/application/views/view_log/partial/log_ajax.php b/application/views/view_log/partial/log_ajax.php
index e0afda10..5eece060 100644
--- a/application/views/view_log/partial/log_ajax.php
+++ b/application/views/view_log/partial/log_ajax.php
@@ -112,7 +112,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
} elseif ($diff > 7) {
$lotw_hint = ' lotw_info_yellow';
}
- $timestamp = strtotime($row->lastupload); echo ($row->callsign == '' ? '' : '
L');
+ $timestamp = strtotime($row->lastupload); echo ($row->callsign == '' ? '' : '
L');
}
?>
diff --git a/assets/js/sections/logbookadvanced.js b/assets/js/sections/logbookadvanced.js
index 6b393de5..63f92de5 100644
--- a/assets/js/sections/logbookadvanced.js
+++ b/assets/js/sections/logbookadvanced.js
@@ -26,7 +26,7 @@ function updateRow(qso) {
let c = 1;
cells.eq(c++).text(qso.qsoDateTime);
cells.eq(c++).text(qso.de);
- cells.eq(c++).html('
'+qso.dx+'' + (qso.callsign == '' ? '' : '
L') + '

');
+ cells.eq(c++).html('
'+qso.dx+'' + (qso.callsign == '' ? '' : '
L') + '

');
cells.eq(c++).text(qso.mode);
cells.eq(c++).text(qso.rstS);
cells.eq(c++).text(qso.rstR);
@@ -81,7 +81,7 @@ function loadQSOTable(rows) {
data.push('
');
data.push(qso.qsoDateTime);
data.push(qso.de);
- data.push('
'+qso.dx+'' + (qso.callsign == '' ? '' : '
L') + '

');
+ data.push('
'+qso.dx+'' + (qso.callsign == '' ? '' : '
L') + '

');
data.push(qso.mode);
data.push(qso.rstS);
data.push(qso.rstR);
diff --git a/assets/js/sections/qso.js b/assets/js/sections/qso.js
index 3ad082e5..a558465b 100644
--- a/assets/js/sections/qso.js
+++ b/assets/js/sections/qso.js
@@ -495,6 +495,8 @@ $("#callsign").focusout(function() {
} else if (result.lotw_days > 7) {
$('#lotw_info').addClass('lotw_info_yellow');
}
+ $('#lotw_link').attr('href',"https://lotw.arrl.org/lotwuser/act?act="+find_callsign);
+ $('#lotw_link').attr('target',"_blank");
$('#lotw_info').attr('data-toggle',"tooltip");
$('#lotw_info').attr('data-original-title',"LoTW User. Last upload was "+result.lotw_days+" days ago");
$('[data-toggle="tooltip"]').tooltip();
@@ -867,4 +869,4 @@ function closeModal() {
container.removeChild(backdrop)
container.removeChild(modal)
}, 200)
-}
\ No newline at end of file
+}
diff --git a/src/QSLManager/QSO.php b/src/QSLManager/QSO.php
index 97c98d26..f488fdc2 100644
--- a/src/QSLManager/QSO.php
+++ b/src/QSLManager/QSO.php
@@ -202,8 +202,8 @@ class QSO
} else {
$this->end = null;
}
- $this->callsign = ($data['callsign'] ?? null === null) ? '' :$data['callsign'];
- $this->lastupload = ($data['lastupload'] ?? null === null) ? '' : date($custom_date_format . " H:i", strtotime($data['lastupload'] ?? null));
+ $this->callsign = (($data['callsign'] ?? null) === null) ? '' : $data['callsign'];
+ $this->lastupload = (($data['lastupload'] ?? null) === null) ? '' : date($custom_date_format . " H:i", strtotime($data['lastupload'] ?? null));
$this->lotw_hint = $this->getLotwHint($data['lastupload'] ?? null);
}