SF.net SVN: postfixadmin: [274] trunk/create-domain.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2007-12-28 21:27:09
|
Revision: 274 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=274&view=rev Author: christian_boltz Date: 2007-12-28 13:27:11 -0800 (Fri, 28 Dec 2007) Log Message: ----------- 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 Modified Paths: -------------- trunk/create-domain.php Modified: trunk/create-domain.php =================================================================== --- trunk/create-domain.php 2007-12-28 21:15:04 UTC (rev 273) +++ trunk/create-domain.php 2007-12-28 21:27:11 UTC (rev 274) @@ -91,12 +91,12 @@ $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())"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |