<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
* form values that we will be using
*
* @var array
- * @access protected
+ * @access public
*/
- protected $_formValues;
+ public $_formValues;
/**
* the params that are sent to the query
$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
- )) {
+ // We don't show test records in summaries or dashboards
+ if (empty($this->_formValues['contribution_test']) && $this->_force) {
$this->_formValues["contribution_test"] = 0;
}