Skip to content
Snippets Groups Projects
Commit 237f35f5 authored by Marius Cramer's avatar Marius Cramer
Browse files

Fixed: FS#3462 - Placeholder {salutation} is not replaced in welcome emails

parent 4721d9da
No related branches found
No related tags found
No related merge requests found
......@@ -352,8 +352,8 @@ class page_action extends tform_actions {
$subject = str_replace('{password}', $this->dataRecord['password'], $subject);
break;
case 'gender':
$message = str_replace('{salutation}', $wb['gender_'.$val.'_txt'], $message);
$subject = str_replace('{salutation}', $wb['gender_'.$val.'_txt'], $subject);
$message = str_replace('{salutation}', $app->tform->lng('gender_'.$val.'_txt'), $message);
$subject = str_replace('{salutation}', $app->tform->lng('gender_'.$val.'_txt'), $subject);
break;
default:
$message = str_replace('{'.$key.'}', $val, $message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment