Additional Fixes
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 17 Oct 2014 06:29:03 +0000 (11:59 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 17 Oct 2014 06:29:03 +0000 (11:59 +0530)
CRM/Contribute/BAO/Contribution/Utils.php

index 8bdb0795d78beaf527d63d2449f710aaee07e702..03748a2cc56d0ccf9756ddb23df80c88a855f703 100644 (file)
@@ -141,7 +141,7 @@ class CRM_Contribute_BAO_Contribution_Utils {
       $form->set('params', $form->_params);
       $form->postProcessPremium($premiumParams, $contribution);
 
-      if ($form->_values['is_monetary'] && $form->_amount > 0.0) {
+      if ($form->_values['is_monetary'] && $form->_amount >= 0.0) {
         // add qfKey so we can send to paypal
         $form->_params['qfKey'] = $form->controller->_key;
         if ($component == 'membership') {