From 05834136e73bac5c3a99577046a969d7e0ad76e1 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sun, 10 Aug 2025 22:39:27 +0100 Subject: [PATCH] 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. --- application/models/Logbook_model.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index e9b6f5f4..f44b579e 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -4857,7 +4857,6 @@ class Logbook_model extends CI_Model $plot = array('lat' => 0, 'lng' => 0, 'html' => '', 'label' => '', 'flag' => '', 'confirmed' => 'N'); $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)); $plot['flag'] = 'name))) . '"> '; $plot['html'] = ($row->COL_GRIDSQUARE != null ? "Grid: " . $row->COL_GRIDSQUARE . "
" : "");