From 12c4c454169e69bc340744f792cb20ad222a5121 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Wed, 11 Feb 2009 20:02:15 +0000 Subject: [PATCH] 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 --- create-domain.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/create-domain.php b/create-domain.php index 17a9d9b0..c093a5af 100644 --- a/create-domain.php +++ b/create-domain.php @@ -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: */ ?>