Also check qrz API key for empty string

pull/2834/head
phl0 2023-12-14 16:08:17 +01:00
rodzic 64554939eb
commit e4138dc22d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48EA1E640798CA9A
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -89,6 +89,7 @@ class User_Model extends CI_Model {
function hasQrzKey($user_id) {
$this->db->where('station_profile.qrzapikey is not null');
$this->db->where('station_profile.qrzapikey != ""');
$this->db->join('station_profile', 'station_profile.user_id = '.$user_id);
$query = $this->db->get($this->config->item('auth_table'));