correct handling of storeSettingHostname when system.stdsubdomain is changed; refs #633

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2019-01-10 20:12:59 +01:00
parent b4597d54af
commit 7841eebf08
2 changed files with 43 additions and 19 deletions

View File

@@ -458,6 +458,10 @@ if ($page == 'overview') {
}
}
$alias_stmt = Database::prepare("SELECT COUNT(`id`) AS count FROM `" . TABLE_PANEL_DOMAINS . "` WHERE `aliasdomain`= :aliasdomain");
$alias_check = Database::pexecute_first($alias_stmt, array("aliasdomain" => $result['id']));
$alias_check = $alias_check['count'];
$domainip = $result_ipandport['ip'];
$result = \Froxlor\PhpHelper::htmlentitiesArray($result);