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
ISPConfig
ISPConfig 3
Commits
e6e4454b
Commit
e6e4454b
authored
Mar 31, 2009
by
tbrehm
Browse files
Fixed problem with client ID in shell and ftp user prefix.
parent
310ec5c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/tools.inc.php
View file @
e6e4454b
...
...
@@ -60,6 +60,9 @@ function getClientName($dataRecord) {
// Get the group-id from the data itself
if
(
isset
(
$dataRecord
[
'client_group_id'
]))
{
$client_group_id
=
$dataRecord
[
'client_group_id'
];
}
elseif
(
isset
(
$dataRecord
[
'parent_domain_id'
]))
{
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT sys_groupid FROM web_domain WHERE domain_id = "
.
$dataRecord
[
'parent_domain_id'
]);
$client_group_id
=
$tmp
[
'sys_groupid'
];
}
else
{
$client_group_id
=
$dataRecord
[
'sys_groupid'
];
}
...
...
@@ -82,7 +85,10 @@ function getClientID($dataRecord) {
// Get the group-id from the data itself
if
(
isset
(
$dataRecord
[
'client_group_id'
]))
{
$client_group_id
=
$dataRecord
[
'client_group_id'
];
}
else
{
}
elseif
(
isset
(
$dataRecord
[
'parent_domain_id'
]))
{
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT sys_groupid FROM web_domain WHERE domain_id = "
.
$dataRecord
[
'parent_domain_id'
]);
$client_group_id
=
$tmp
[
'sys_groupid'
];
}
else
{
$client_group_id
=
$dataRecord
[
'sys_groupid'
];
}
}
...
...
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