mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
fixed bug where M1 was not assigned as england
This commit is contained in:
parent
008471a19d
commit
6fe357ef3b
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class DXCC extends CI_Model {
|
|||
$query = $this->db->query('
|
||||
SELECT *
|
||||
FROM dxcc
|
||||
WHERE prefix = SUBSTRING( \''.$callsign.'\', 1, LENGTH( prefix ) )
|
||||
WHERE prefix = SUBSTRING( \''.$callsign.'\', 1, LENGTH( prefix ) ) AND end_date = "0000-00-00 00:00:00"
|
||||
ORDER BY LENGTH( prefix ) DESC
|
||||
LIMIT 1
|
||||
');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue