CRM-14034 - additional fix.
authorDave Greenberg <dave@civicrm.org>
Wed, 8 Jan 2014 20:27:51 +0000 (12:27 -0800)
committerDave Greenberg <dave@civicrm.org>
Wed, 8 Jan 2014 20:27:51 +0000 (12:27 -0800)
----------------------------------------
* CRM-14034: Editing a contribution from a PCP gets an error saying "soft credit amount cannot be more than the total amount."
  http://issues.civicrm.org/jira/browse/CRM-14034

CRM/Contribute/Form/SoftCredit.php

index 2b3b9b12b1429449da25b05d47578efb142cd339..7d17614088edc7b930a25ee47f1e47e6aa00a5e0 100644 (file)
@@ -94,8 +94,7 @@ class CRM_Contribute_Form_SoftCredit {
     // Tell tpl to hide soft credit field if contribution is linked directly to a PCP Page
     if (CRM_Utils_Array::value('pcp_made_through_id', $form->_values)) {
       $form->assign('pcpLinked', 1);
-    }
-    
+    }    
   }
 
   /**