From 6e3e1eed4829f1b11e571e2c77a8b37f66af943d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 30 Oct 2013 12:33:15 +0100 Subject: [PATCH] Bug 11168: fix regression that broke exporting serial claims to CSV Bug 7688 broke the exporting serial claims as CSV (see bug 10854). For C4::Serials::GetLateOrMissingIssues(), $supplierid is not meant to be mandatory. This patch fixes that. Test plan: try to export a serial claim. Without this patch, the csv is always empty. Signed-off-by: Galen Charlton --- C4/Serials.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 5256b13ff8..6d188e7685 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -1979,7 +1979,7 @@ name,title,planneddate,serialseq,serial.subscriptionid from tables : subscriptio sub GetLateOrMissingIssues { my ( $supplierid, $serialid, $order ) = @_; - return unless ($supplierid); + return unless ( $supplierid or $serialid ); my $dbh = C4::Context->dbh; my $sth; -- 2.39.5