From 2815612086bcd28af7589581f0b93d871114d40e Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 4 Jun 2014 09:35:49 +1200 Subject: [PATCH] PriceSet BAO - fix spelling & remove unused var --- CRM/Price/BAO/PriceSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index c22510487a..038962a740 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -713,7 +713,7 @@ WHERE id = %1"; if ( $component && // auto_renew exists and is empty in some workflows, which php treat as a 0 - // and hence we explicity check to see if auto_renew is numeric + // and hence we explicitly check to see if auto_renew is numeric isset($lineItem[$optionValueId]['auto_renew']) && is_numeric($lineItem[$optionValueId]['auto_renew']) ) { @@ -1270,7 +1270,7 @@ WHERE ps.id = %1 $copyPriceSet = &CRM_Price_BAO_PriceSet::copy($setId); - $copyDiscount = &CRM_Core_DAO::copyGeneric( + CRM_Core_DAO::copyGeneric( 'CRM_Core_DAO_Discount', array( 'id' => $discountId, -- 2.25.1