diff --git a/modules/customertransferform.php b/modules/customertransferform.php index b07cb65cf5..8d53de143a 100644 --- a/modules/customertransferform.php +++ b/modules/customertransferform.php @@ -43,7 +43,7 @@ if ($type == LMSTcpdfTransferForm::VALUE_ASSIGNMENTS) { //get assignments grouped by currency $currency_assignments = $LMS->GetCustomerAssignmentValue($cid); - if (!empty($currency_assignments)) { + if (empty($currency_assignments)) { access_denied('Active assignments not found!'); }