From 5c26c9080f725c9046ceca5cce7599bb793e567b Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Thu, 17 Jan 2019 00:34:52 +0000 Subject: [PATCH] removed unwanted parameter from getLineItems() --- CRM/Price/BAO/LineItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Price/BAO/LineItem.php b/CRM/Price/BAO/LineItem.php index c00e3fda01..b54bd5b775 100644 --- a/CRM/Price/BAO/LineItem.php +++ b/CRM/Price/BAO/LineItem.php @@ -178,7 +178,7 @@ WHERE li.contribution_id = %1"; * @return array */ public static function getLineItemsByContributionID($contributionID) { - return self::getLineItems($contributionID, 'contribution', NULL, TRUE, TRUE, " WHERE contribution_id = " . (int) $contributionID); + return self::getLineItems($contributionID, 'contribution', NULL, TRUE, TRUE); } /** -- 2.25.1