From 4767642bdab06c1ecb8358804fe3ffcc1906ce71 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 22 May 2013 21:43:34 -0500 Subject: [PATCH] Fix assumption about test records CRM-12610 --- CRM/Contribute/Form/Search.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CRM/Contribute/Form/Search.php b/CRM/Contribute/Form/Search.php index cea7a2c33f..ead42ffdc1 100644 --- 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; } -- 2.25.1