0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-03-16 06:13:34 +00:00

Fix Make survey thank you page use an entry point

This commit is contained in:
p.ernst 2018-01-04 16:52:14 +00:00
parent 6fc27ac9c7
commit 3182b5a9bf
2 changed files with 2 additions and 1 deletions
include/MVC/Controller
modules/Surveys/Entry

View file

@ -88,6 +88,7 @@ $entry_point_registry = array(
'setCampaignMarketingAndTemplate' => array('file' => 'modules/Campaigns/WizardCampaignSave.php', 'auth' => true),
'survey' => array('file' => 'modules/Surveys/Entry/Survey.php', 'auth' => false),
'surveySubmit' => array('file' => 'modules/Surveys/Entry/SurveySubmit.php', 'auth' => false),
'surveyThanks' => array('file' => 'modules/Surveys/Entry/Thanks.php', 'auth' => false),
);
?>

View file

@ -143,7 +143,7 @@ function processSurvey(Surveys $survey, $trackerId, $contactId, $request)
}
}
$response->save();
header('Location: modules/Surveys/Entry/Thanks.php');
header('Location: index.php?entryPoint=surveyThanks');
}
function do404()