Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
237f35f5
Commit
237f35f5
authored
Apr 25, 2014
by
Marius Cramer
Browse files
Fixed: FS#3462 - Placeholder {salutation} is not replaced in welcome emails
parent
4721d9da
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/client/client_edit.php
View file @
237f35f5
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment