Remove unused gridsquare assignment in Logbook_model
Deleted the assignment of 'gridsquare' to the $plot array in Logbook_model.php as it was not being used elsewhere in the code.
这个提交包含在:
父节点
a87c4a8cb3
当前提交
05834136e7
共有 1 个文件被更改,包括 0 次插入 和 1 次删除
|
|
@ -4857,7 +4857,6 @@ class Logbook_model extends CI_Model
|
||||||
$plot = array('lat' => 0, 'lng' => 0, 'html' => '', 'label' => '', 'flag' => '', 'confirmed' => 'N');
|
$plot = array('lat' => 0, 'lng' => 0, 'html' => '', 'label' => '', 'flag' => '', 'confirmed' => 'N');
|
||||||
|
|
||||||
$plot['label'] = $row->COL_CALL;
|
$plot['label'] = $row->COL_CALL;
|
||||||
$plot['gridsquare'] = $row->COL_GRIDSQUARE; // Add gridsquare for potential use in labels
|
|
||||||
$flag = strtolower($CI->dxccflag->getISO($row->COL_DXCC));
|
$flag = strtolower($CI->dxccflag->getISO($row->COL_DXCC));
|
||||||
$plot['flag'] = '<span data-bs-toggle="tooltip" title="' . ucwords(strtolower(($row->name==null?"- NONE -":$row->name))) . '"><span class="fi fi-' . $flag .'"></span></span> ';
|
$plot['flag'] = '<span data-bs-toggle="tooltip" title="' . ucwords(strtolower(($row->name==null?"- NONE -":$row->name))) . '"><span class="fi fi-' . $flag .'"></span></span> ';
|
||||||
$plot['html'] = ($row->COL_GRIDSQUARE != null ? "<b>Grid:</b> " . $row->COL_GRIDSQUARE . "<br />" : "");
|
$plot['html'] = ($row->COL_GRIDSQUARE != null ? "<b>Grid:</b> " . $row->COL_GRIDSQUARE . "<br />" : "");
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用