Bugzilla – Attachment 58645 Details for
Bug 17736
Move GetReservesFromBiblionumber to Koha::Biblio->holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17736: [QA Follow-up] Script basket.pl is not Plack compliant
Bug-17736-QA-Follow-up-Script-basketpl-is-not-Plac.patch (text/plain), 2.13 KB, created by
Marcel de Rooy
on 2017-01-06 12:59:54 UTC
(
hide
)
Description:
Bug 17736: [QA Follow-up] Script basket.pl is not Plack compliant
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-01-06 12:59:54 UTC
Size:
2.13 KB
patch
obsolete
>From 4b2d4fae57bf27c56d06aa0da010381b86ca1865 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 6 Jan 2017 13:36:35 +0100 >Subject: [PATCH] Bug 17736: [QA Follow-up] Script basket.pl is not Plack > compliant >Content-Type: text/plain; charset=utf-8 > >Several warnings like: >Variable "$confirm_pref" is not available at /usr/share/koha/masterclone/acqui/basket.pl line 507. > >Primarily caused by sub edi_close_and_order. > >Easy fix. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > acqui/basket.pl | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/acqui/basket.pl b/acqui/basket.pl >index a9be23e..97ad4d8 100755 >--- a/acqui/basket.pl >+++ b/acqui/basket.pl >@@ -69,13 +69,13 @@ the supplier this script have to display the basket. > > =cut > >-my $query = new CGI; >+our $query = new CGI; > our $basketno = $query->param('basketno'); >-my $ean = $query->param('ean'); >-my $booksellerid = $query->param('booksellerid'); >+our $ean = $query->param('ean'); >+our $booksellerid = $query->param('booksellerid'); > my $duplinbatch = $query->param('duplinbatch'); > >-my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( >+our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( > { > template_name => "acqui/basket.tt", > query => $query, >@@ -86,7 +86,7 @@ my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( > } > ); > >-my $basket = GetBasket($basketno); >+our $basket = GetBasket($basketno); > $booksellerid = $basket->{booksellerid} unless $booksellerid; > my $bookseller = Koha::Acquisition::Booksellers->find( $booksellerid ); > my $schema = Koha::Database->new()->schema(); >@@ -112,7 +112,7 @@ unless (CanUserManageBasket($loggedinuser, $basket, $userflags)) { > # warn "=>".$basket->{booksellerid}; > my $op = $query->param('op') // 'list'; > >-my $confirm_pref= C4::Context->preference("BasketConfirmations") || '1'; >+our $confirm_pref= C4::Context->preference("BasketConfirmations") || '1'; > $template->param( skip_confirm_reopen => 1) if $confirm_pref eq '2'; > > my @messages; >-- >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 17736
:
58015
|
58016
|
58017
|
58056
|
58057
|
58106
|
58107
|
58108
|
58628
|
58629
|
58630
|
58631
|
58632
|
58633
|
58634
|
58635
|
58636
|
58637
|
58638
|
58639
|
58640
|
58641
|
58642
|
58643
|
58644
|
58645
|
59846
|
59847
|
59848
|
59849
|
59850
|
59851
|
59852
|
59853
|
59854
|
59855
|
59859
|
59860
|
61406
|
61407
|
61408
|
61409
|
61410
|
61411
|
61412
|
61413
|
61414
|
61415
|
61416