Bugzilla – Attachment 69369 Details for
Bug 19695
Uncertain prices should not use find in list context
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix another instance of ->find in list context.
Fix-another-instance-of--find-in-list-context.patch (text/plain), 1006 bytes, created by
Stefan Berndtsson
on 2017-11-27 11:41:44 UTC
(
hide
)
Description:
Fix another instance of ->find in list context.
Filename:
MIME Type:
Creator:
Stefan Berndtsson
Created:
2017-11-27 11:41:44 UTC
Size:
1006 bytes
patch
obsolete
>From 62fedc8906aa633eec632eb97705cf82d5eaa452 Mon Sep 17 00:00:00 2001 >From: Stefan Berndtsson <stefan.berndtsson@gmail.com> >Date: Mon, 27 Nov 2017 12:33:21 +0100 >Subject: [PATCH] Fix another instance of ->find in list context. > >https://bugs.koha-community.org/show_bug.cgi?id=19695 >--- > acqui/uncertainprice.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/uncertainprice.pl b/acqui/uncertainprice.pl >index 220805e..7fa95ab 100755 >--- a/acqui/uncertainprice.pl >+++ b/acqui/uncertainprice.pl >@@ -73,7 +73,7 @@ my $op = $input->param('op'); > my $owner = $input->param('owner') || 0 ; # flag to see only "my" orders, or everyone orders > my $bookseller = Koha::Acquisition::Booksellers->find( $booksellerid ); > >-$template->param( basket => Koha::Acquisition::Baskets->find($basketno) ); >+$template->param( basket => scalar Koha::Acquisition::Baskets->find($basketno) ); > > #show all orders that have uncertain price for the bookseller > my $pendingorders = SearchOrders({ >-- >2.7.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 19695
:
69369
|
69396