Skip to content
Snippets Groups Projects
Commit 6b35b8b4 authored by Yannick Tivisse's avatar Yannick Tivisse
Browse files

[FIX] survey: Remove wrong dirty hack when rendering survey's mail template

This dirty hack keeps only the path without the first '/' character.
parent 21e233cb
Branches
Tags
No related merge requests found
......@@ -87,8 +87,6 @@ class SurveyMailComposeMessage(models.TransientModel):
#set url
url = wizard.survey_id.public_url
url = urls.url_parse(url).path[1:] # dirty hack to avoid incorrect urls
if token:
url = url + '/' + token
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment