$surveyId = key(CRM_Campaign_BAO_Survey::getSurveys(TRUE, TRUE));
}
if (!$surveyId) {
- CRM_Core_Error::statusBounce('Could not find valid Survey Id.');
+ CRM_Core_Error::statusBounce(ts('Could not find valid Survey Id.'));
}
$this->_formValues['campaign_survey_id'] = $this->_formValues['campaign_survey_id'] = $surveyId;
if (!$this->_caseId ||
(!$this->_activityId && !$this->_activityTypeId)
) {
- CRM_Core_Error::statusBounce('required params missing.');
+ CRM_Core_Error::statusBounce(ts('required params missing.'));
}
//check for case activity access.