From 22178cfb8456f8f62a1b21cb4b5b1e0ee1ace104 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Tue, 2 Sep 2014 13:26:57 +0530 Subject: [PATCH] indentation fix --- CRM/Contribute/Form/Contribution/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']])) ) -- 2.25.1