CRM-15555 don't do recursive save
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 10 Nov 2014 03:07:53 +0000 (16:07 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Thu, 13 Nov 2014 15:04:42 +0000 (04:04 +1300)
CRM/Core/Payment.php

index 3d4a716279678e63f31396924d60878eb8237d2a..a343fafdd7dbb86cbbb1656c5f6871e7d3945008 100644 (file)
@@ -124,9 +124,9 @@ abstract class CRM_Core_Payment {
     }
 
     //load the payment form for required processor.
-    if ($paymentForm !== NULL) {
-      self::$_singleton[$cacheKey]->setForm($paymentForm);
-    }
+    //if ($paymentForm !== NULL) {
+      //self::$_singleton[$cacheKey]->setForm($paymentForm);
+    //}
 
     return self::$_singleton[$cacheKey];
   }