From 49e434149fc61357b7ec635dc9a691f2b611294d Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 19 Aug 2019 16:38:38 +0100 Subject: [PATCH] Map was referencing the old dxcc table, moved to a new structure. --- application/controllers/Dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Dashboard.php b/application/controllers/Dashboard.php index d20291e3..eeb38495 100644 --- a/application/controllers/Dashboard.php +++ b/application/controllers/Dashboard.php @@ -94,7 +94,7 @@ class Dashboard extends CI_Controller { } else { $query = $this->db->query(' SELECT * - FROM dxcc + FROM dxcc_entities WHERE prefix = SUBSTRING( \''.$row->COL_CALL.'\', 1, LENGTH( prefix ) ) ORDER BY LENGTH( prefix ) DESC LIMIT 1 @@ -133,7 +133,7 @@ class Dashboard extends CI_Controller { } else { $query = $this->db->query(' SELECT * - FROM dxcc + FROM dxcc_entities WHERE prefix = SUBSTRING( \''.$row->COL_CALL.'\', 1, LENGTH( prefix ) ) ORDER BY LENGTH( prefix ) DESC LIMIT 1