From e27ea08887a0332692c37b05b15021b14b1bef78 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 18 Feb 2014 16:26:07 +0100 Subject: [PATCH] Bug 10789: Follow-up: restored second SQL parameter in GetLastOrderReceivedFromSubscriptionid Signed-off-by: Marcel de Rooy Signed-off-by: Galen Charlton --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index e0853477bb..65b8623943 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1197,7 +1197,7 @@ sub GetLastOrderReceivedFromSubscriptionid { LIMIT 1 |; my $result_set = - $dbh->selectall_arrayref( $query, { Slice => {} }, $subscriptionid ); + $dbh->selectall_arrayref( $query, { Slice => {} }, $subscriptionid, $subscriptionid ); # result_set assumed to contain 1 match return $result_set->[0]; -- 2.39.5