From c21e23613f616653051f61af57e2686ec8f7b6b3 Mon Sep 17 00:00:00 2001 From: Carsten Schmitz Date: Wed, 20 Nov 2013 14:00:46 +0100 Subject: [PATCH] Fixed issue #8323: (span) tags in confirmation messages when survey in all-in-one mode --- application/helpers/frontend_helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/helpers/frontend_helper.php b/application/helpers/frontend_helper.php index 16d209b10a2..cc29c1a8ec0 100644 --- a/application/helpers/frontend_helper.php +++ b/application/helpers/frontend_helper.php @@ -1181,8 +1181,8 @@ function sendSubmitNotifications($surveyid) $redata=compact(array_keys(get_defined_vars())); if (count($aEmailNotificationTo)>0) { - $sMessage=templatereplace($thissurvey['email_admin_notification'],$aReplacementVars,$redata,'frontend_helper[1398]',($thissurvey['anonymized'] == "Y")); - $sSubject=templatereplace($thissurvey['email_admin_notification_subj'],$aReplacementVars,$redata,'frontend_helper[1399]',($thissurvey['anonymized'] == "Y")); + $sMessage=templatereplace($thissurvey['email_admin_notification'],$aReplacementVars,$redata,'frontend_helper[1398]',($thissurvey['anonymized'] == "Y"),NULL, array(), true); + $sSubject=templatereplace($thissurvey['email_admin_notification_subj'],$aReplacementVars,$redata,'frontend_helper[1399]',($thissurvey['anonymized'] == "Y"),NULL, array(), true); foreach ($aEmailNotificationTo as $sRecipient) { if (!SendEmailMessage($sMessage, $sSubject, $sRecipient, $sFrom, $sitename, true, getBounceEmail($surveyid)))