fix warning message on import contribution
authorJitendra Purohit <jitendra@fuzion.co.nz>
Mon, 23 Sep 2019 04:55:46 +0000 (10:25 +0530)
committerJitendra Purohit <jitendra@fuzion.co.nz>
Mon, 23 Sep 2019 04:55:46 +0000 (10:25 +0530)
CRM/Contribute/Import/Parser/Contribution.php

index 7fc5fe9ac2cbef9a8f56d1c6cbc753f01bbff0e9..49cb0522e83a6615e7aca2ddf63bc48d06fe184a 100644 (file)
@@ -896,7 +896,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa
 
           // giving respect to pledge_payment flag.
           if (empty($params['pledge_payment'])) {
-            continue;
+            break;
           }
 
           // get total amount of from import fields