projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ef96f
)
CRM-14396 - CRM_Core_Payment::handlePaymentMethod - Don't leak $paymentClass
author
Tim Otten
<totten@civicrm.org>
Fri, 11 Apr 2014 21:54:33 +0000
(14:54 -0700)
committer
Tim Otten
<totten@civicrm.org>
Fri, 11 Apr 2014 21:54:33 +0000
(14:54 -0700)
across iterations of while()
CRM/Core/Payment.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment.php
b/CRM/Core/Payment.php
index 6afcf6379a6327fa64650bcf88bd6ec1be8a4c25..56249840903185d4f2f806e43a08b0e0daa56e21 100644
(file)
--- a/
CRM/Core/Payment.php
+++ b/
CRM/Core/Payment.php
@@
-260,10
+260,7
@@
abstract class CRM_Core_Payment {
}
else {
// Legacy or extension as module instance
- if(empty($paymentClass)) {
- $paymentClass = 'CRM_Core_' . $dao->class_name;
-
- }
+ $paymentClass = 'CRM_Core_' . $dao->class_name;
}
$paymentProcessor = CRM_Financial_BAO_PaymentProcessor::getPayment($dao->processor_id, $mode);