Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
257cd788
Commit
257cd788
authored
Jul 16, 2009
by
tbrehm
Browse files
Fixed: FS#812 - Mails are missing for user if the username conatins uppercase characters.
parent
a4f044fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/mail/mail_domain_edit.php
View file @
257cd788
...
...
@@ -174,6 +174,11 @@ class page_action extends tform_actions {
// Clients may not set the client_group_id, so we unset them if user is not a admin
if
(
!
$app
->
auth
->
has_clients
(
$_SESSION
[
's'
][
'user'
][
'userid'
]))
unset
(
$this
->
dataRecord
[
"client_group_id"
]);
}
//* make sure that the email domain is lowercase
if
(
isset
(
$this
->
dataRecord
[
"domain"
]))
$this
->
dataRecord
[
"domain"
]
=
strtolower
(
$this
->
dataRecord
[
"domain"
]);
parent
::
onSubmit
();
}
...
...
interface/web/mail/mail_user_edit.php
View file @
257cd788
...
...
@@ -160,7 +160,7 @@ class page_action extends tform_actions {
//* compose the email field
if
(
isset
(
$_POST
[
"email_local_part"
])
&&
isset
(
$_POST
[
"email_domain"
]))
{
$this
->
dataRecord
[
"email"
]
=
$_POST
[
"email_local_part"
]
.
"@"
.
$_POST
[
"email_domain"
];
$this
->
dataRecord
[
"email"
]
=
strtolower
(
$_POST
[
"email_local_part"
]
.
"@"
.
$_POST
[
"email_domain"
]
)
;
// Set the server id of the mailbox = server ID of mail domain.
$this
->
dataRecord
[
"server_id"
]
=
$domain
[
"server_id"
];
...
...
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