Skip to content

Commit

Permalink
bugfix: customer transferm form with assignment values could not be p…
Browse files Browse the repository at this point in the history
…rinted (inversed condition)
  • Loading branch information
chilek committed Aug 8, 2023
1 parent bb25e5e commit 58e1898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/customertransferform.php
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
}

Expand Down

0 comments on commit 58e1898

Please sign in to comment.