[Koha-bugs] [Bug 27082] Problem when a basket has more of 20 orders with uncertain price

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 24 22:03:16 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27082

--- Comment #6 from Blou <philippe.blouin at inlibro.com> ---
Here's what Bouzid's fix was doing:

--- a/acqui/uncertainprice.pl
+++ b/acqui/uncertainprice.pl
@@ -88,6 +88,7 @@ if ( $op eq 'validate' ) {
     for (my $i=0; $i < $count; $i++) {
         my $order = pop(@orders);
         my $ordernumber = $order->{ordernumber};
+        next unless ($input->param('qty'.$ordernumber));
         my $order_as_from_db=GetOrder($order->{ordernumber});
         $order->{'listprice'} = $input->param('price'.$ordernumber);

But this avoids the "crash" without fixing the issue at root I fear.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list