Skip to content

Commit

Permalink
bugfix: if invoice send limit was specified as percentage and request…
Browse files Browse the repository at this point in the history
…ed only for selected division, then total document count was calculated incorrect (restored PSR-2 compatibility)
  • Loading branch information
chilek committed Aug 8, 2023
1 parent 43ade23 commit bb25e5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/lms-sendinvoices.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,9 @@ function ($value) {
AND c.invoicenotice = 1
AND d.cdate >= $daystart
AND d.cdate <= $dayend"
. ($customergroups ?: ''), $args));
. ($customergroups ?: ''),
$args
));
if (empty($count)) {
die;
}
Expand Down

0 comments on commit bb25e5e

Please sign in to comment.