kopia lustrzana https://github.com/magicbug/Cloudlog
fixed bug where M1 was not assigned as england
rodzic
008471a19d
commit
6fe357ef3b
|
@ -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
|
||||
');
|
||||
|
|
Ładowanie…
Reference in New Issue