From: Eileen McNaughton Date: Tue, 3 Jun 2014 21:35:49 +0000 (+1200) Subject: PriceSet BAO - fix spelling & remove unused var X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2815612086bcd28af7589581f0b93d871114d40e;p=civicrm-core.git PriceSet BAO - fix spelling & remove unused var --- 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,