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:
7758bd2
)
Enotice fix
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Tue, 5 May 2015 08:10:10 +0000
(20:10 +1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Tue, 5 May 2015 08:10:10 +0000
(20:10 +1200)
CRM/Core/Payment.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment.php
b/CRM/Core/Payment.php
index 992a8b1751224d7ef884400304c1aa040995ef7c..a97b96d78a2877df1ae017109786b13544cdfec0 100644
(file)
--- a/
CRM/Core/Payment.php
+++ b/
CRM/Core/Payment.php
@@
-509,7
+509,7
@@
abstract class CRM_Core_Payment {
else {
$result = $this->doDirectPayment($params, $component);
if (is_array($result) && !isset($result['contribution_status_id'])) {
- if (
$params['is_recur']
) {
+ if (
!empty($params['is_recur'])
) {
// See comment block.
$paymentParams['contribution_status_id'] = array_search('Pending', $statuses);
}