diff --git a/create-domain.php b/create-domain.php index 97beacf1..17a9d9b0 100644 --- a/create-domain.php +++ b/create-domain.php @@ -53,7 +53,7 @@ $form_fields = array( ); foreach($form_fields as $key => $default) { - if(isset($_POST[$key]) && (!empty($_POST[$key]))) { + if(isset($_POST[$key]) && (strlen($_POST[$key]) > 0)) { $$key = escape_string($_POST[$key]); } else {