Map was referencing the old dxcc table, moved to a new structure.

pull/425/head
Peter Goodhall 2019-08-19 16:38:38 +01:00
rodzic 923817c064
commit 49e434149f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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