From f1321de6b4338d354c9028f7e6f2cfd0f08a579a Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Wed, 14 Nov 2007 21:19:10 +0000 Subject: [PATCH] create-domain.php: fix for bug 1831720 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@223 a1433add-5e2c-0410-b055-b7f2511e0802 --- create-domain.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/create-domain.php b/create-domain.php index 6bf90f2a..39d3111e 100644 --- a/create-domain.php +++ b/create-domain.php @@ -58,7 +58,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") if(isset($_POST[$key]) && !empty($POST[$key])) { $$key = escape_string($_POST[$key]); } - $$key = $default; + else { + $$key = $default; + } } if (empty ($fDomain) or domain_exist ($fDomain) or !check_domain ($fDomain))