http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7595

--- Comment #24 from M. Tompsett <[email protected]> ---
Comment on attachment 27337
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27337
Bug 7595 - Add branchcode to accountlines

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

::: C4/Accounts.pm
@@ +407,4 @@
>      my ( $borrowernumber, $itemnum, $desc, $type, $amount, $note ) = @_;
>      my $manager_id = 0;
>      $manager_id = C4::Context->userenv->{'number'} if C4::Context->userenv;
> +    my $branchcode = C4::Context->userenv->{'branch'};

Why does this differ than line 359?
my $branchcode = C4::Context->userenv ? C4::Context->userenv->{'branch'} :
undef;

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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