Explorar o código

Domains: Require Name on add.

Nate Jones %!s(int64=10) %!d(string=hai) anos
pai
achega
cad0e87cb1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/domain_settings/domain_edit.php

+ 1 - 1
core/domain_settings/domain_edit.php

@@ -66,7 +66,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
 	}
 
 	//check for all required data
-		//if (strlen($domain_name) == 0) { $msg .= $text['message-required'].$text['label-name']."<br>\n"; }
+		if (strlen($domain_name) == 0) { $msg .= $text['message-required'].$text['label-name']."<br>\n"; }
 		//if (strlen($domain_description) == 0) { $msg .= $text['message-required'].$text['label-description']."<br>\n"; }
 		if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
 			require_once "resources/header.php";