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:
bfbcdf9
)
Fix assumption about test records CRM-12610
author
Coleman Watts
<coleman@civicrm.org>
Thu, 23 May 2013 02:43:34 +0000
(21:43 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Thu, 23 May 2013 02:43:34 +0000
(21:43 -0500)
CRM/Contribute/Form/Search.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/Form/Search.php
b/CRM/Contribute/Form/Search.php
index cea7a2c33f669ed60c6be4d001cbe07a68b6a6f7..ead42ffdc1819ec02d833cb8f0a8ce04062f4272 100644
(file)
--- a/
CRM/Contribute/Form/Search.php
+++ b/
CRM/Contribute/Form/Search.php
@@
-359,10
+359,7
@@
class CRM_Contribute_Form_Search extends CRM_Core_Form {
$this->fixFormValues();
// we don't show test contributions in Contact Summary / User Dashboard
- // in Search mode by default we hide test contributions
- if (!CRM_Utils_Array::value('contribution_test',
- $this->_formValues
- )) {
+ if (empty($this->_formValues['contribution_test']) && $this->_single) {
$this->_formValues["contribution_test"] = 0;
}