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
6cf0ed35
Commit
6cf0ed35
authored
Mar 16, 2009
by
tbrehm
Browse files
Fixed: FS#639 - website alias domain not added
parent
5f0152ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
6cf0ed35
...
...
@@ -204,7 +204,7 @@ class apache2_plugin {
$new_parent_domain_id
=
intval
(
$data
[
"new"
][
"parent_domain_id"
]);
// If the parent_domain_id has been chenged, we will have to update the old site as well.
if
(
$data
[
"new"
][
"parent_domain_id"
]
!=
$data
[
"old"
][
"parent_domain_id"
])
{
if
(
$this
->
action
==
'update'
&&
$data
[
"new"
][
"parent_domain_id"
]
!=
$data
[
"old"
][
"parent_domain_id"
])
{
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT * FROM web_domain WHERE domain_id = "
.
$old_parent_domain_id
.
" AND active = 'y'"
);
$data
[
"new"
]
=
$tmp
;
$data
[
"old"
]
=
$tmp
;
...
...
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