diff --git a/admin_domains.php b/admin_domains.php index 61196573..0579c9fd 100644 --- a/admin_domains.php +++ b/admin_domains.php @@ -408,6 +408,10 @@ if ($page == 'domains' || $page == 'overview') { if (isset($_POST['send']) && $_POST['send'] == 'send') { try { + // remove ssl ip/ports if set is empty + if (isset($_POST['ssl_ipandport']) && empty($_POST['ssl_ipandport'])) { + $_POST['remove_ssl_ipandport'] = true; + } Domains::getLocal($userinfo, $_POST)->update(); } catch (Exception $e) { \Froxlor\UI\Response::dynamic_error($e->getMessage());