From 85aefdeb15f72d3f16d56560834649ddb0b83e3b Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 14 Sep 2012 16:32:48 +0200 Subject: [PATCH] Bug 5349: Fix a logical test in TransferOrder Signed-off-by: Mathieu Saby Signed-off-by: sonia Signed-off-by: Chris Cormack --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index d17c7cf..5662e0b 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1613,7 +1613,7 @@ Return the ordernumber of created order. sub TransferOrder { my ($ordernumber, $basketno) = @_; - return unless $ordernumber or $basketno; + return unless ($ordernumber and $basketno); my $order = GetOrder( $ordernumber ); return if $order->{datereceived}; -- 1.8.4.rc2