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
kotishe
ISPConfig 3
Commits
8a4a1faf
Commit
8a4a1faf
authored
Jul 23, 2014
by
Marius Cramer
Browse files
Merge branch 'vhost_sql_fix' into 'master'
Vhost sql fix Fix for changing tab on site web, when logged as admin.
parents
63524b8e
0ba9a6b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/plugins/sites_web_vhost_domain_plugin.inc.php
View file @
8a4a1faf
...
...
@@ -85,7 +85,7 @@ class sites_web_vhost_domain_plugin {
$client_id
=
$app
->
functions
->
intval
(
$client
[
"client_id"
]);
}
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT userid FROM sys_user WHERE default_group =
$client_group_id
"
);
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT userid FROM sys_user WHERE default_group =
?"
,
$client_group_id
);
$client_user_id
=
$app
->
functions
->
intval
((
$tmp
[
'userid'
]
>
0
)
?
$tmp
[
'userid'
]
:
1
);
// Set the values for document_root, system_user and system_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