Bugzilla – Attachment 97231 Details for
Bug 24350
Can't place holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24350: follow-up - unbless each library, not the array
Bug-24350-follow-up---unbless-each-library-not-the.patch (text/plain), 1.02 KB, created by
Nick Clemens (kidclamp)
on 2020-01-10 15:38:08 UTC
(
hide
)
Description:
Bug 24350: follow-up - unbless each library, not the array
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-01-10 15:38:08 UTC
Size:
1.02 KB
patch
obsolete
>From 32bd9aa3e6694bedd0b40e1c38e2d5b362efd50d Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 10 Jan 2020 15:37:46 +0000 >Subject: [PATCH] Bug 24350: follow-up - unbless each library, not the array > >--- > Koha/Template/Plugin/Branches.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Koha/Template/Plugin/Branches.pm b/Koha/Template/Plugin/Branches.pm >index d677ccdcf0..6ee4254402 100644 >--- a/Koha/Template/Plugin/Branches.pm >+++ b/Koha/Template/Plugin/Branches.pm >@@ -90,9 +90,10 @@ sub pickup_locations { > > my $search_params = $params->{search_params} || {}; > my $selected = $params->{selected}; >- my $libraries = Koha::Libraries->pickup_locations($search_params)->unblessed; >+ my $libraries = Koha::Libraries->pickup_locations($search_params); > > for my $l (@$libraries) { >+ $l = $l->unblessed; > if ( defined $selected and $l->{branchcode} eq $selected > or not defined $selected > and C4::Context->userenv >-- >2.11.0
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 24350
:
96860
|
96912
|
96913
| 97231 |
97258
|
97259
|
97260
|
97261
|
97352