SF.net SVN: postfixadmin:[569] trunk/create-domain.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2009-02-25 10:24:32
|
Revision: 569 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=569&view=rev Author: GingerDog Date: 2009-02-25 10:24:30 +0000 (Wed, 25 Feb 2009) Log Message: ----------- create-domain.php: if the user makes a domain a backup mx, then accept whatever they type in for mailboxes/aliases Modified Paths: -------------- trunk/create-domain.php Modified: trunk/create-domain.php =================================================================== --- trunk/create-domain.php 2009-02-25 10:22:57 UTC (rev 568) +++ trunk/create-domain.php 2009-02-25 10:24:30 UTC (rev 569) @@ -108,9 +108,6 @@ if ($fBackupmx == "on") { - $fAliases = -1; - $fMailboxes = -1; - $fMaxquota = -1; $fBackupmx = 1; $sqlBackupmx = db_get_boolean(true); } @@ -119,6 +116,7 @@ $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())"; $result = db_query($sql_query); if ($result['rows'] != 1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |