CRM-14034 - additional fix.
authorDave Greenberg <dave@civicrm.org>
Wed, 8 Jan 2014 20:27:03 +0000 (12:27 -0800)
committerDave Greenberg <dave@civicrm.org>
Wed, 8 Jan 2014 20:27:03 +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 63b282a43dcca95f3d60894ed9fcf3d54aacfc6a..2b3b9b12b1429449da25b05d47578efb142cd339 100644 (file)
@@ -96,8 +96,6 @@ class CRM_Contribute_Form_SoftCredit {
       $form->assign('pcpLinked', 1);
     }
     
-    $form->addFormRule(array('CRM_Contribute_Form_SoftCredit', 'formRule'), $form);
-    
   }
 
   /**