Bug 39722: (follow-up) Remove find
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
fac53ff21a
commit
fa23e8c145
|
|
@ -1417,7 +1417,7 @@ sub ModReceiveOrder {
|
|||
$order->{invoice_unitprice} ||= $order->{unitprice};
|
||||
$order->{invoice_currency} ||= Koha::Acquisition::Currencies->get_active->currency;
|
||||
|
||||
my $suggestion = Koha::Suggestions->find( { biblionumber => $biblionumber } );
|
||||
my $suggestion = Koha::Suggestions->search( { biblionumber => $biblionumber } )->single;
|
||||
if ($suggestion) {
|
||||
ModSuggestion(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue