This commit is contained in:
2020-09-08 15:44:16 +02:00
parent 6ee00f7514
commit 6606e1b5aa

View File

@@ -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