From 9277d9e44e86653c87644b24f9cc1cf7809515fc Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 6 Jan 2015 14:56:57 -0800 Subject: [PATCH] INFRA-132 - CRM/Price - Misc --- CRM/Price/BAO/PriceField.php | 3 ++- CRM/Price/Form/Set.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CRM/Price/BAO/PriceField.php b/CRM/Price/BAO/PriceField.php index 7645875439..b98e8e99ba 100644 --- a/CRM/Price/BAO/PriceField.php +++ b/CRM/Price/BAO/PriceField.php @@ -241,7 +241,8 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * @internal param bool $search true if used for search else false * @static */ - public static function addQuickFormElement(&$qf, + public static function addQuickFormElement( + &$qf, $elementName, $fieldId, $inactiveNeeded, diff --git a/CRM/Price/Form/Set.php b/CRM/Price/Form/Set.php index 4389bc079e..e8261fac68 100644 --- a/CRM/Price/Form/Set.php +++ b/CRM/Price/Form/Set.php @@ -247,7 +247,8 @@ class CRM_Price_Form_Set extends CRM_Core_Form { CRM_Price_BAO_PriceSet::retrieve($params, $defaults); $extends = explode(CRM_Core_DAO::VALUE_SEPARATOR, $defaults['extends']); unset($defaults['extends']); - foreach ($extends as $compId) { $defaults['extends'][$compId] = 1; + foreach ($extends as $compId) { + $defaults['extends'][$compId] = 1; } } -- 2.25.1