[Koha-bugs] [Bug 18351] No warning when deleting budgets that have funds attached

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 23 12:33:01 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18351

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at bywatersolutions.com
             Status|Signed Off                  |Failed QA

--- Comment #10 from Nick Clemens <nick at bywatersolutions.com> ---
GetBudgets returns a reference, not an array, try:
my $funds = GetBudgets({ budget_period_id => $budgetperiod->{budget_period_id}
}); 
$budgetperiod->{count} = scalar @$funds;

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list