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
aff82cd5
Commit
aff82cd5
authored
Apr 25, 2014
by
Marius Cramer
Browse files
Fixed: invalid mail sender on welcome email when creating new client
parent
d50cada5
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/client/client_edit.php
View file @
aff82cd5
...
...
@@ -364,7 +364,7 @@ class page_action extends tform_actions {
//* Get sender address
if
(
$app
->
auth
->
is_admin
())
{
$app
->
uses
(
'getconf'
);
$system_config
=
$app
->
getconf
->
get_global_config
();
$system_config
=
$app
->
getconf
->
get_global_config
(
'mail'
);
$from
=
$system_config
[
'admin_mail'
];
}
else
{
$client_group_id
=
$app
->
functions
->
intval
(
$_SESSION
[
"s"
][
"user"
][
"default_group"
]);
...
...
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