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

--- Comment #6 from Julian Maurice <julian.maur...@biblibre.com> ---
Comment on attachment 64616
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64616
Bug 18613: Correct the behaviour

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

::: C4/Letters.pm
@@ +204,5 @@
>  
>  
> +    my $only_my_library = C4::Context->only_my_library;
> +    if ( $only_my_library and $branchcode ) {
> +        $branchcode = $only_my_library;

C4::Context->only_my_library is supposed to return a boolean value.
You should use C4::Context::mybranch() here

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to