CRM-10994 in import bash donations not allowed
authormgbdev <mgbdev@gmail.com>
Thu, 21 Nov 2013 05:28:29 +0000 (10:58 +0530)
committermgbdev <mgbdev@gmail.com>
Thu, 21 Nov 2013 05:28:29 +0000 (10:58 +0530)
CRM/Contribute/Import/Parser/Contribution.php

index 574367f12c8d47b4675cd296d66ce7e2e4528afd..65700d3c6e90850ab294537a7da14e6f759d6600 100644 (file)
@@ -263,7 +263,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
 
     //CRM-10994
     if (isset($params['total_amount']) && $params['total_amount'] == 0) {
-      $param['total_amount'] = '0.00';
+      $params['total_amount'] = '0.00';
     }
     foreach ($params as $key => $val) {
       if ($val) {