diff --git a/C4/Budgets.pm b/C4/Budgets.pm index 26e4c49143..87c85c26f5 100644 --- a/C4/Budgets.pm +++ b/C4/Budgets.pm @@ -581,6 +581,7 @@ sub GetBudgetHierarchy { SELECT shipmentcost_budgetid as budget_id, SUM(shipmentcost) as shipmentcost FROM aqinvoices + WHERE shipmentcost_budgetid IS NOT NULL GROUP BY shipmentcost_budgetid |, 'budget_id'); my $hr_budget_spent_adjustment = $dbh->selectall_hashref(q|