We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6363ba commit 056b11eCopy full SHA for 056b11e
1 file changed
interface/web/sites/web_vhost_subdomain_edit.php
@@ -288,7 +288,6 @@ function onSubmit() {
288
$this->dataRecord["ipv6_address"] = $parent_domain["ipv6_address"];
289
$this->dataRecord["client_group_id"] = $parent_domain["client_group_id"];
290
$this->dataRecord["vhost_type"] = 'name';
291
- $this->dataRecord["domain"] = $this->dataRecord["domain"].'.'.$parent_domain["domain"];
292
293
$this->parent_domain_record = $parent_domain;
294
@@ -328,6 +327,8 @@ function onSubmit() {
328
327
if($check && $check['cnt'] > 0) {
329
$app->tform->errorMessage .= $app->tform->lng("web_folder_unique_txt")."<br>";
330
}
+ } else {
331
+ $this->dataRecord["domain"] = $this->dataRecord["domain"].'.'.$parent_domain["domain"];
332
333
334
if($_SESSION["s"]["user"]["typ"] != 'admin') {
0 commit comments