[Koha-bugs] [Bug 7595] Add branchcode to accountlines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 21 07:28:09 CEST 2014


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

--- Comment #24 from M. Tompsett <mtompset at hotmail.com> ---
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.


More information about the Koha-bugs mailing list