Fixed unintentional tab characters
authorTobias Lounsbury <tobiaslounsbury@gmail.com>
Fri, 11 Mar 2016 01:34:20 +0000 (17:34 -0800)
committerTobias Lounsbury <tobiaslounsbury@gmail.com>
Fri, 11 Mar 2016 01:34:20 +0000 (17:34 -0800)
CRM/Contribute/Form/Contribution/Confirm.php

index 92a69ff8deebbcd9b8d991612f6869e21dff7c76..8a6db269bb304c5fc02c98f261d7cf373119ac47 100644 (file)
@@ -1577,10 +1577,10 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
       // Do not send an email if Recurring transaction is done via Direct Mode
       // Email will we sent when the IPN is received.
       foreach ($paymentResults as $result) {
-             //CRM-18211: Fix situation where second contribution doesn't exist because it is optional.
-             if($result['contribution_id']) {
-               $this->completeTransaction($result['result'], $result['contribution_id']);
-             }
+        //CRM-18211: Fix situation where second contribution doesn't exist because it is optional.
+        if ($result['contribution_id']) {
+          $this->completeTransaction($result['result'], $result['contribution_id']);
+        }
       }
       return;
     }