Commit f40b4244 authored by Benedikt Putz's avatar Benedikt Putz

Add EXPIRY tag to replaceable tokens in email

parent c33e1daa
......@@ -682,6 +682,8 @@ class sendMailCron extends PluginBase
$aFieldsArray["{SURVEYWELCOMETEXT}"]=$aSurveys[$sLanguage]['surveyls_welcometext'];
$aFieldsArray["{ADMINNAME}"]=$aSurveys[$sLanguage]['admin'];
$aFieldsArray["{ADMINEMAIL}"]=$aSurveys[$sLanguage]['adminemail'];
$aFieldsArray["{EXPIRY}"]=$aSurveys[$sLanguage]['expiry'];
foreach ($oToken->attributes as $attribute=>$value)
{
$aFieldsArray['{' . strtoupper($attribute) . '}'] =$value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment