Bugzilla – Attachment 73595 Details for
Bug 19066
Add branchcode to accountlines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19066: Follow up to reduce C4::Context references
Bug-19066-Follow-up-to-reduce-C4Context-references.patch (text/plain), 903 bytes, created by
Mark Tompsett
on 2018-04-04 02:07:38 UTC
(
hide
)
Description:
Bug 19066: Follow up to reduce C4::Context references
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2018-04-04 02:07:38 UTC
Size:
903 bytes
patch
obsolete
>From fc9d9c6a3a08f0b9610563b01b2ffcd3e5b1d063 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 4 Apr 2018 02:06:52 +0000 >Subject: [PATCH] Bug 19066: Follow up to reduce C4::Context references > >--- > Koha/Account.pm | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index e1f1327..c6fb8f5 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -76,9 +76,8 @@ sub pay { > my $account_type = $params->{account_type}; > my $offset_type = $params->{offset_type} || $type eq 'writeoff' ? 'Writeoff' : 'Payment'; > >- $library_id ||= C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef; >- > my $userenv = C4::Context->userenv; >+ $library_id ||= $userenv ? $userenv->{'branch'} : undef; > > # We should remove accountno, it is no longer needed > my $last = Koha::Account::Lines->search( >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19066
:
65769
|
65770
|
65771
|
67756
|
67757
|
71153
|
71154
|
71155
|
73185
|
73186
|
73187
|
73595
|
77281
|
77282
|
77283
|
78900
|
78901
|
81144
|
81145
|
81146
|
81253
|
81254
|
81255
|
81684
|
81912
|
81918
|
82047
|
82048
|
82084
|
82086
|
82087
|
82469
|
82470
|
82471
|
82473
|
82474
|
82475
|
82476
|
82477
|
82478
|
83067
|
83068
|
83069
|
83070
|
83071
|
83072
|
83073
|
83074
|
83075
|
83076
|
83077
|
83078
|
83079
|
83080
|
83081
|
83082
|
83083
|
83084
|
83275
|
83519
|
83520
|
83521
|
83522
|
83523
|
83524
|
83525
|
83526
|
83527
|
83528
|
83628