create-domain.php:

- fixed "undefined variable $tBackupmx" on POST
- fixed vim: line - create-domain.php already uses 4 spaces per tab


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@565 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 16 years ago
parent 68943a5477
commit 12c4c45416

@ -84,6 +84,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
if ($_SERVER['REQUEST_METHOD'] == "POST")
{
$tBackupmx = "";
if ($fDomain == null or domain_exist($fDomain) or !check_domain($fDomain))
{
$error = 1;
@ -139,7 +140,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
if (!domain_postcreation($fDomain))
{
$tMessage = $PALANG['pAdminCreate_domain_error'];
}
}
}
}
@ -148,5 +149,5 @@ include ("templates/menu.php");
include ("templates/admin_create-domain.php");
include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
?>

Loading…
Cancel
Save