We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f1ba4 commit e414a41Copy full SHA for e414a41
interface/web/sites/web_childdomain_edit.php
@@ -196,6 +196,10 @@ function onSubmit() {
196
if(!$domain) {
197
$app->tform->errorMessage .= $app->tform->lng("domain_error_empty")."<br />";
198
} else {
199
+ // $this->dataRecord['domain'] may not be empty
200
+ if(empty($this->dataRecord['domain'])) {
201
+ $app->tform->errorMessage .= $app->tform->lng("domain_error_empty")."<br />";
202
+ }
203
$this->dataRecord['domain'] = $this->dataRecord['domain'] . '.' . $domain;
204
}
205
0 commit comments