Skip to content
Snippets Groups Projects
Commit ebbc3f1a authored by Till Brehm's avatar Till Brehm
Browse files

Fixed Issue #3948 reseller missing '*' option in ipv4 address.

parent cb0be91c
No related branches found
No related tags found
No related merge requests found
......@@ -305,6 +305,17 @@ class page_action extends tform_actions {
$app->tpl->setVar("server_id", $options_web_servers);
unset($options_web_servers);
if($this->id > 0) {
if(!isset($this->dataRecord["server_id"])){
$tmp = $app->db->queryOneRecord("SELECT server_id FROM web_domain WHERE domain_id = ?", $this->id);
$this->dataRecord["server_id"] = $tmp["server_id"];
unset($tmp);
}
$server_id = intval(@$this->dataRecord["server_id"]);
} else {
$server_id = (isset($web_servers[0])) ? intval($web_servers[0]) : 0;
}
if ($settings['use_domain_module'] != 'y') {
// Fill the client select field
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment