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
ab2837be
Commit
ab2837be
authored
Dec 30, 2008
by
Nigel McNie
Browse files
Add a Reply-to header if a contact-us message comes from a non-user.
parent
5587a637
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/activity.php
View file @
ab2837be
...
...
@@ -394,6 +394,11 @@ class ActivityTypeContactus extends ActivityTypeAdmin {
if
(
!
empty
(
$this
->
userfrom
))
{
$this
->
url
=
get_config
(
'wwwroot'
)
.
'user/view.php?id='
.
$this
->
userfrom
;
}
else
{
$this
->
customheaders
=
array
(
'Reply-to: '
.
$this
->
fromname
.
' <'
.
$this
->
fromemail
.
'>'
,
);
}
}
function
get_subject
(
$user
)
{
...
...
Write
Preview
Supports
Markdown
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