From d790e32dbff010bd5db3cf85ad0d45a4487df862 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 29 Mar 2019 17:12:06 +0000 Subject: [PATCH] Bug 22611: Correction for typo in Koha::EDI A typo in Koha::EDI leads to 'The method is not tested' errors to be thrown when the codepath is taken and can lead to subsequent data corruption. Signed-off-by: Martin Renvoize --- Koha/EDI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/EDI.pm b/Koha/EDI.pm index 0e632c9294..53a660198a 100644 --- a/Koha/EDI.pm +++ b/Koha/EDI.pm @@ -810,7 +810,7 @@ sub quote_item { ); } - if ( $basket->effective_create_item eq 'ordering' ) { + if ( $basket->effective_create_items eq 'ordering' ) { my $new_item = { notforloan => -1, cn_sort => q{}, -- 2.20.1