Merge pull request #2834 from phl0/fixQrzEmptyApiKey

Also check qrz API key for empty string
pull/2824/head
Peter Goodhall 2023-12-14 15:09:43 +00:00 zatwierdzone przez GitHub
commit 2f976798a3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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'));