From 00ea6fb5d147ac2407e4f0cc4e3b42dcf8f6b5c7 Mon Sep 17 00:00:00 2001 From: Bouzid Fergani Date: Thu, 29 Sep 2016 12:43:39 -0400 Subject: [PATCH] Bug 6934 - Fix problem C4::Branch::GetBranchesLoop not exist Signed-off-by: Hector Castro Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- reports/cash_register_stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index ba4f14f93f..7d29119104 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -178,7 +178,7 @@ $template->param( beginDate => $fromDate, endDate => $toDate, transaction_type => $transaction_type, - branchloop => C4::Branch::GetBranchesLoop($manager_branchcode), + branchloop => Koha::Libraries->search({}, { order_by => ['branchname'] })->unblessed, manualinv_types => $manualinv_types, CGIsepChoice => GetDelimiterChoices, ); -- 2.20.1