[Koha-bugs] [Bug 17872] Fix small error in GetBudgetHierarchy and one of its calls

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 20 21:03:07 CET 2017


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

--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 58723
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58723
Bug 17872: Fix small error in GetBudgetHierarchy and one of its calls

Review of attachment 58723:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17872&attachment=58723)
-----------------------------------------------------------------

::: admin/aqbudgets.pl
@@ +237,4 @@
>      );
>  
>      my @budgets = @{
> +        GetBudgetHierarchy( $$period{budget_period_id}, C4::Context->userenv->{branch}, ( $show_mine ? $borrower_id : 0 ))

Really don't like C4::Context->userenv->{branch}!
Can this code be triggered by a test which isn't "logged in"?

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


More information about the Koha-bugs mailing list