mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
@@ -12,6 +12,7 @@ class Genfunctions
|
||||
(($postdata['qrz'] ?? '') != '') ||
|
||||
(($postdata['lotw'] ?? '') != '') ||
|
||||
(($postdata['qsl'] ?? '') != '') ||
|
||||
(($postdata['dcl'] ?? '') != '') ||
|
||||
(($postdata['eqsl'] ?? '') != '') ) {
|
||||
$sql .= ' and (';
|
||||
if (($postdata['qsl'] ?? '') != '') {
|
||||
@@ -29,6 +30,9 @@ class Genfunctions
|
||||
if (($postdata['clublog'] ?? '') != '') {
|
||||
array_push($qsl, "COL_CLUBLOG_QSO_DOWNLOAD_STATUS = 'Y'");
|
||||
}
|
||||
if (($postdata['dcl'] ?? '') != '') {
|
||||
array_push($qsl, "COL_DCL_QSL_RCVD = 'Y'");
|
||||
}
|
||||
if (count($qsl) > 0) {
|
||||
$sql .= implode(' or ', $qsl);
|
||||
} else {
|
||||
@@ -68,6 +72,9 @@ class Genfunctions
|
||||
if (($postdata['eqsl'] ?? '')!= '' ) {
|
||||
$qsl .= "E";
|
||||
}
|
||||
if (($postdata['dcl'] ?? '')!= '' ) {
|
||||
$qsl .= "D";
|
||||
}
|
||||
if (($postdata['clublog'] ?? '')!= '' ) {
|
||||
$qsl .= "C";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user