From a7842d33609ad5c15b2819b7aab2b50259361eee 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: Added removed second sql parameter in GetLastOrderReceivedFromSubscriptionid Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- C4/Acquisition.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index e085347..65b8623 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]; -- 1.7.7.6