Merge pull request #2578 from int2001/dbl_killer_fix

Small bugfix if no dupe is found
pull/2579/head
Peter Goodhall 2023-10-17 13:28:02 +01:00 zatwierdzone przez GitHub
commit 6bbb7459d3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -16,8 +16,10 @@ class Logbookadvanced_model extends CI_Model {
foreach ($id_query->result() as $id) {
$ids2fetch=$id->QSO_IDs;
}
if ($ids2fetch !== '') {
if ($ids2fetch ?? '' !== '') {
$conditions[] = "qsos.COL_PRIMARY_KEY in (".$ids2fetch.")";
} else {
$conditions[] = "1=0";
}
}