Merge pull request #14011 from colemanw/typeValidateCleanup
[civicrm-core.git] / CRM / Contribute / Form / SoftCredit.php
index b45472fda66f70f02e014898b831bcf505179cee..431cb24dce16639110175c292faee497e56fa4e8 100644 (file)
@@ -101,10 +101,10 @@ class CRM_Contribute_Form_SoftCredit {
       $form->addMoney("soft_credit_amount[{$rowNumber}]", ts('Amount'), FALSE, NULL, FALSE);
 
       $form->addSelect("soft_credit_type[{$rowNumber}]", [
-          'entity' => 'contribution_soft',
-          'field' => 'soft_credit_type_id',
-          'label' => ts('Type'),
-        ]);
+        'entity' => 'contribution_soft',
+        'field' => 'soft_credit_type_id',
+        'label' => ts('Type'),
+      ]);
       if (!empty($form->_softCreditInfo['soft_credit'][$rowNumber]['soft_credit_id'])) {
         $form->add('hidden', "soft_credit_id[{$rowNumber}]",
           $form->_softCreditInfo['soft_credit'][$rowNumber]['soft_credit_id']);