Merge pull request #2700 from int2001/gsa_fix

Fixing Error when "lastupload" isn't set
这个提交包含在:
Andreas Kristiansen 2023-11-17 08:31:04 +01:00 提交者 GitHub
当前提交 f3e7c9079f
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 2 次插入1 次删除

查看文件

@ -500,6 +500,7 @@ class Logbook_model extends CI_Model {
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
$this->db->join('dxcc_entities', 'dxcc_entities.adif = '.$this->config->item('table_name').'.COL_DXCC', 'left outer');
$this->db->join('lotw_users', 'lotw_users.callsign = '.$this->config->item('table_name').'.col_call', 'left outer');
$this->db->where('COL_CALL', $call);
if ($band != 'All') {
if ($band == 'SAT') {

查看文件

@ -102,7 +102,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
<td>
<a id="edit_qso" href="javascript:displayQso(<?php echo $row->COL_PRIMARY_KEY; ?>)"><?php echo str_replace("0","&Oslash;",strtoupper($row->COL_CALL)); ?></a>
<?php
if ($row->lastupload) {
if (isset($row->lastupload) && ($row->lastupload)) {
$lotw_hint = '';
$diff = (time() - strtotime($row->lastupload)) / 86400;
if ($diff > 365) {