Merge pull request #12461 from eileenmcnaughton/domain_id
[civicrm-core.git] / CRM / Contribute / Form / Search.php
index b0345ee9b8ea8f36afc6a71801037f5ab17fd4ba..7fa4f02bf0bc317b3fa6fb08afa4213bfb5a7d9b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2018                                |
  +--------------------------------------------------------------------+
@@ -260,7 +260,7 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
 
     $this->_done = TRUE;
 
-    if (!empty($_POST)) {
+    if (!empty($_POST) && !$this->_force) {
       $this->_formValues = $this->controller->exportValues($this->_name);
     }