[Vtigercrm-commits] [vtiger-commits] r4132 - /vtigercrm/trunk/modules/Settings/SaveMailAccount.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 13 03:11:26 EST 2006


Author: mmbrich
Date: Mon Mar 13 01:11:25 2006
New Revision: 4132

Log:
correctly save the mail account info


Modified:
    vtigercrm/trunk/modules/Settings/SaveMailAccount.php

Modified: vtigercrm/trunk/modules/Settings/SaveMailAccount.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/SaveMailAccount.php (original)
+++ vtigercrm/trunk/modules/Settings/SaveMailAccount.php Mon Mar 13 01:11:25 2006
@@ -39,7 +39,7 @@
 else
 {
 	$account_id = $adb->getUniqueID("mail_accounts");
-	$sql="insert into mail_accounts values(" .$account_id .",'".$current_user->id."','".$displayname."','".$email."','".$account_name."','".$mailprotocol."','".$server_username."','".$server_password."','".$mail_servername."',1,0,'".$box_refresh."','".$mails_per_page."', '".$ssltype."', '".$sslmeth."', '".$showbody."')";
+	$sql="insert into mail_accounts values(" .$account_id .",'".$current_user->id."','".$displayname."','".$email."','".$account_name."','".$mailprotocol."','".$server_username."','".$server_password."','".$mail_servername."','".$box_refresh."','".$mails_per_page."', '".$ssltype."', '".$sslmeth."', '".$showbody."','1','0')";
 }
 
 $adb->query($sql);





More information about the vtigercrm-commits mailing list