From b10b94580c9f3770a4ef2f22b28e4bc19cfd66d1 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Thu, 21 May 2015 19:12:42 +0000 Subject: [PATCH] Domains: Require Name on add. --- core/domain_settings/domain_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/domain_settings/domain_edit.php b/core/domain_settings/domain_edit.php index e95d020e5a..f47a06c9a5 100644 --- a/core/domain_settings/domain_edit.php +++ b/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']."
\n"; } + if (strlen($domain_name) == 0) { $msg .= $text['message-required'].$text['label-name']."
\n"; } //if (strlen($domain_description) == 0) { $msg .= $text['message-required'].$text['label-description']."
\n"; } if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) { require_once "resources/header.php";