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:
dc2c4f3
)
CRM_Contribution_BAO_Contribution - Fix test failure
author
Tim Otten
<totten@civicrm.org>
Mon, 27 Oct 2014 03:34:50 +0000
(20:34 -0700)
committer
Tim Otten
<totten@civicrm.org>
Mon, 27 Oct 2014 03:34:50 +0000
(20:34 -0700)
Test failurewas observed on toj-1 (Ubuntu 12.04) with paratest.
https://test.civicrm.org/job/CiviCRM-Core-Matrix-exp/CIVIVER=4.5,label=toj-1/8/testReport/%28root%29/CRM_Batch_Form_EntryTest/testProcessMembership/
CRM/Contribute/BAO/Contribution.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/BAO/Contribution.php
b/CRM/Contribute/BAO/Contribution.php
index b0a0bbeaff4e36ca26bfcaa1e13073e7ce8b6fe7..69d476e4d54b1d201b315cf47cf87824821d1baa 100644
(file)
--- a/
CRM/Contribute/BAO/Contribution.php
+++ b/
CRM/Contribute/BAO/Contribution.php
@@
-235,7
+235,8
@@
class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
return $contribution;
}
- return NULL;
+ $null = NULL; // return by reference
+ return $null;
}
/**