Commit 9277d9e4 authored by totten's avatar totten
Browse files

INFRA-132 - CRM/Price - Misc

parent 3295515a
......@@ -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,
......
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment