Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
65e6185b
Commit
65e6185b
authored
Dec 23, 2008
by
Nigel McNie
Browse files
HTML escape the debug email notice HTML message so the email shows up.
parent
823ab316
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/user.php
View file @
65e6185b
...
...
@@ -333,7 +333,7 @@ function email_user($userto, $userfrom, $subject, $messagetext, $messagehtml='')
$notice
=
get_string
(
'debugemail'
,
'mahara'
,
display_name
(
$userto
,
$userto
),
$userto
->
email
);
$messagetext
=
$notice
.
"
\n\n
"
.
$messagetext
;
if
(
$messagehtml
)
{
$messagehtml
=
'<p>'
.
$notice
.
'</p>'
.
$messagehtml
;
$messagehtml
=
'<p>'
.
hsc
(
$notice
)
.
'</p>'
.
$messagehtml
;
}
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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