From 6606e1b5aa5aa65a6665dc656d30b8742525885c Mon Sep 17 00:00:00 2001 From: Richard Toth Date: Tue, 8 Sep 2020 15:44:16 +0200 Subject: [PATCH] fix typo --- _include/include_presence.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_include/include_presence.php b/_include/include_presence.php index d43bab5..59d33c7 100644 --- a/_include/include_presence.php +++ b/_include/include_presence.php @@ -107,7 +107,7 @@ if ($this->is_id()) { LEFT JOIN lease_training_type ON ltt_lease_l_id = ukl_lease_l_id WHERE (uk_deleted = 0 AND uk_is_active = 1) - AND (ltt_training_type_tt_id = {$training->get_tr_training_type_trt_id()} + AND (ltt_training_type_trt_id = {$training->get_tr_training_type_trt_id()} OR uk_lease = 0) UNION SELECT DISTINCT uk_id, uk_name FROM