LimeSurvey: master 6041289a

Author Committer Branch Timestamp Parent
frederikprijck LouisGac master 2017-01-20 14:56:13 master adace565
Changeset

Fixed issue: Replacing @@SURVEYURL@@ incorrectly in RPC

When using the value @@SURVEYURL@@ in an email, SURVEYURL will be replaced by calling ReplaceFields as it's a part of the $fieldsarray.
This way, the barebone_link is never replaced correctly.

To fix this, we need to replace the barebone_link before caling ReplaceFields.

To reproduce:

  • Add @@SURVEYURL@@ to an email template (invite or remind in my case)
  • Send a mail using the RPC.
mod - application/helpers/admin/token_helper.php Diff File