tbrehm
2009-03-16 6cf0ed352305fddc6f0ed50649b8f8df29904387
Fixed: FS#639 - website alias domain not added 
1 files modified
2 ■■■ changed files
server/plugins-available/apache2_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php
@@ -204,7 +204,7 @@
            $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;