From be1d9a045a203f738e97a1ca378d15b80ea72b1a Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Thu, 10 Mar 2016 14:13:44 +0100 Subject: [PATCH] actually use the selected value for server-alias when editing a subdomain, thx to Aragorn Signed-off-by: Michael Kaufmann (d00p) --- customer_domains.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/customer_domains.php b/customer_domains.php index c115318a..de18a20c 100644 --- a/customer_domains.php +++ b/customer_domains.php @@ -86,7 +86,7 @@ if ($page == 'overview') { } } } - + $row['termination_date'] = str_replace("0000-00-00", "", $row['termination_date']); if($row['termination_date'] != "") { $cdate = strtotime($row['termination_date'] . " 23:59:59"); @@ -548,7 +548,7 @@ if ($page == 'overview') { $aliasdomain = intval($_POST['alias']); - if (isset($_POST['selectserveralias']) && $result['parentdomainid'] == '0' ) { + if (isset($_POST['selectserveralias'])) { $iswildcarddomain = ($_POST['selectserveralias'] == '0') ? '1' : '0'; $wwwserveralias = ($_POST['selectserveralias'] == '1') ? '1' : '0'; } else {