Marius Cramer
2014-04-10 363ccfedb96d98cb6f03fd2ca44096dcb24c2c7f
interface/lib/plugins/sites_web_vhost_domain_plugin.inc.php
@@ -228,6 +228,7 @@
            $app->db->query($sql);
         }
      } else {
         if(isset($page_form->dataRecord["parent_domain_id"]) && $page_form->dataRecord["parent_domain_id"] != $page_form->oldDataRecord["parent_domain_id"]) {
         $parent_domain = $app->db->queryOneRecord("SELECT * FROM `web_domain` WHERE `domain_id` = '" . $app->functions->intval($page_form->dataRecord['parent_domain_id']) . "'");
         // Set the values for document_root, system_user and system_group
@@ -243,5 +244,6 @@
         $app->db->query($sql);
      }
   }
   }
}