Skip to content
Snippets Groups Projects
Commit df1a05e5 authored by Dominik's avatar Dominik
Browse files

re-show of aliasdomains fixed

parent 33ff5ab0
No related branches found
No related tags found
No related merge requests found
...@@ -347,11 +347,6 @@ class page_action extends tform_actions { ...@@ -347,11 +347,6 @@ class page_action extends tform_actions {
$domain_select .= "<option value=''></option>\r\n"; $domain_select .= "<option value=''></option>\r\n";
} }
$app->tpl->setVar("domain_option", $domain_select); $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"]); $app->tpl->setVar("domain", $this->dataRecord["domain"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment