Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Patrício dos Santos
ISPConfig 3
Commits
ae9ca85a
Commit
ae9ca85a
authored
Sep 01, 2015
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: FS#3982 - Cannot modify mail domain when owner
parent
7b26eae1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
interface/web/mail/mail_domain_edit.php
interface/web/mail/mail_domain_edit.php
+1
-1
No files found.
interface/web/mail/mail_domain_edit.php
View file @
ae9ca85a
...
...
@@ -332,7 +332,7 @@ class page_action extends tform_actions {
}
else
{
//* We do not allow users to change a domain which has been created by the admin
$rec
=
$app
->
db
->
queryOneRecord
(
"SELECT domain from mail_domain WHERE domain_id = ?"
,
$this
->
id
);
if
(
$rec
[
'domain'
]
!=
$this
->
dataRecord
[
"domain"
]
&&
$app
->
tform
->
checkPerm
(
$this
->
id
,
'u'
))
{
if
(
$rec
[
'domain'
]
!=
$this
->
dataRecord
[
"domain"
]
&&
!
$app
->
tform
->
checkPerm
(
$this
->
id
,
'u'
))
{
//* Add a error message and switch back to old server
$app
->
tform
->
errorMessage
.
=
$app
->
lng
(
'The Domain can not be changed. Please ask your Administrator if you want to change the domain name.'
);
$this
->
dataRecord
[
"domain"
]
=
$rec
[
'domain'
];
...
...
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