create-domain.php:

- partly undo last change (r273) - $fBackupmx is not used in the SQL query, 
  but in the template file
- keep usage of db_get_boolean() for $sqlBackupmx


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@274 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 17 years ago
parent eb1ddd2a80
commit d39d7b44aa

@ -91,12 +91,12 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
$fAliases = -1;
$fMailboxes = -1;
$fMaxquota = -1;
$fBackupmx = db_get_boolean(true);
$fBackupmx = 1;
$sqlBackupmx = db_get_boolean(true);
}
else
{
$fBackupmx = db_get_boolean(false);
$fBackupmx = 0;
$sqlBackupmx = db_get_boolean(false);
}
$sql_query = "INSERT INTO $table_domain (domain,description,aliases,mailboxes,maxquota,transport,backupmx,created,modified) VALUES ('$fDomain','$fDescription',$fAliases,$fMailboxes,$fMaxquota,'$fTransport',$sqlBackupmx,NOW(),NOW())";

Loading…
Cancel
Save