From: Tim Otten Date: Tue, 6 Jan 2015 22:56:57 +0000 (-0800) Subject: INFRA-132 - CRM/Price - Misc X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9277d9e44e86653c87644b24f9cc1cf7809515fc;p=civicrm-core.git INFRA-132 - CRM/Price - Misc --- 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; } }