mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-03-16 06:13:34 +00:00
Fix #4789 Make survey thank you page use an entry point
This commit is contained in:
parent
6fc27ac9c7
commit
3182b5a9bf
2 changed files with 2 additions and 1 deletions
|
@ -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),
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue