From ea84b403f1b5b318cf4fbe49398f237943402265 Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 10 Oct 2024 06:10:10 +0000 Subject: [PATCH] Added extra-brackets around the dxcc-failsafe for lba --- application/models/Logbookadvanced_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Logbookadvanced_model.php b/application/models/Logbookadvanced_model.php index e0f5fc03c..dddae42dd 100644 --- a/application/models/Logbookadvanced_model.php +++ b/application/models/Logbookadvanced_model.php @@ -219,7 +219,7 @@ class Logbookadvanced_model extends CI_Model { $binding[] = $searchCriteria['iota']; } - if ($searchCriteria['dxcc'] ?? '' !== '') { + if (($searchCriteria['dxcc'] ?? '') !== '') { $conditions[] = "COL_DXCC = ?"; $binding[] = $searchCriteria['dxcc']; }