Skip to content

Commit df1a05e

Browse files
committed
re-show of aliasdomains fixed
1 parent 33ff5ab commit df1a05e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

interface/web/sites/web_vhost_aliasdomain_edit.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,6 @@ function onShowEnd() {
347347
$domain_select .= "<option value=''></option>\r\n";
348348
}
349349
$app->tpl->setVar("domain_option", $domain_select);
350-
$this->dataRecord['domain'] = substr($this->dataRecord["domain"], 0, strlen($this->dataRecord['domain']) - strlen($selected_domain) - 1);
351-
} else {
352-
353-
// remove the parent domain part of the domain name before we show it in the text field.
354-
$this->dataRecord["domain"] = str_replace('.'.$parent_domain["domain"], '', $this->dataRecord["domain"]);
355350
}
356351
$app->tpl->setVar("domain", $this->dataRecord["domain"]);
357352

0 commit comments

Comments
 (0)