From df1a05e5713ff89b0c97dea255c63611d3d14560 Mon Sep 17 00:00:00 2001
From: Dominik Müller <info@profi-webdesign.net>
Date: Mon, 20 Jan 2014 19:52:02 -0500
Subject: [PATCH] re-show of aliasdomains fixed

---
 interface/web/sites/web_vhost_aliasdomain_edit.php |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/interface/web/sites/web_vhost_aliasdomain_edit.php b/interface/web/sites/web_vhost_aliasdomain_edit.php
index e8d5d54..49a9f27 100644
--- a/interface/web/sites/web_vhost_aliasdomain_edit.php
+++ b/interface/web/sites/web_vhost_aliasdomain_edit.php
@@ -347,11 +347,6 @@
 				$domain_select .= "<option value=''></option>\r\n";
 			}
 			$app->tpl->setVar("domain_option", $domain_select);
-			$this->dataRecord['domain'] = substr($this->dataRecord["domain"], 0, strlen($this->dataRecord['domain']) - strlen($selected_domain) - 1);
-		} else {
-
-			// remove the parent domain part of the domain name before we show it in the text field.
-			$this->dataRecord["domain"] = str_replace('.'.$parent_domain["domain"], '', $this->dataRecord["domain"]);
 		}
 		$app->tpl->setVar("domain", $this->dataRecord["domain"]);
 

--
Gitblit v1.9.1