ICM-18 Fixed issues that were reported by Jenkins test
[civicrm-core.git] / CRM / Member / Form / MembershipView.php
index 21582c28aeb5a453d52fc73d965ae116049404c5..b72fff1a92420b201dbbb96d073552d11d9b262a 100644 (file)
@@ -158,12 +158,10 @@ class CRM_Member_Form_MembershipView extends CRM_Core_Form {
 
     if ($id) {
       $params = array('id' => $id);
-
       CRM_Member_BAO_Membership::retrieve($params, $values);
       if (CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus()) {
         $finTypeId = CRM_Core_DAO::getFieldValue('CRM_Member_DAO_MembershipType', $values['membership_type_id'], 'financial_type_id');
         $finType = CRM_Contribute_PseudoConstant::financialType($finTypeId);
-        
         if (!CRM_Core_Permission::check('view contributions of type ' . $finType)) {
           CRM_Core_Error::fatal(ts('You do not have permissionn to access this page.'));
         }