diff --git a/CRM/Campaign/Form/Survey/Results.php b/CRM/Campaign/Form/Survey/Results.php index 33d16aa1054978ef0abf3e23b0d1c8d39f3e0a19..846348069652188cf37fe83f2ad3202cb3691c62 100644 --- a/CRM/Campaign/Form/Survey/Results.php +++ b/CRM/Campaign/Form/Survey/Results.php @@ -461,6 +461,8 @@ class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey { } $this->_createNew = TRUE; $this->_id = CRM_Report_Utils_Report::getInstanceIDForValue('survey/detail'); + CRM_Report_Form_Instance::setDefaultValues($this, $this->_defaults); + $this->_params = array_merge($this->_params, $this->_defaults); CRM_Report_Form_Instance::postProcess($this, FALSE); $query = "SELECT MAX(id) FROM civicrm_report_instance WHERE name = %1";