From: monishdeb Date: Tue, 2 Sep 2014 07:56:57 +0000 (+0530) Subject: indentation fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=22178cfb8456f8f62a1b21cb4b5b1e0ee1ace104;p=civicrm-core.git indentation fix --- diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index bc0fd4a79a..cdc7ea57e1 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -844,7 +844,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu if (CRM_Utils_Array::value('options', $value)) { foreach ($value['options'] as $val) { - if (CRM_Utils_Array::value('membership_type_id', $val) && ( + if (CRM_Utils_Array::value('membership_type_id', $val) && ( ($fields['price_' . $priceId] == $val['id']) || (isset($fields['price_' . $priceId]) && !empty($fields['price_' . $priceId][$val['id']])) )