[Vtigercrm-commits] [vtiger-commits] r5720 - /vtigercrm/trunk/modules/Settings/AddMailAccount.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 3 11:22:19 EDT 2006


Author: saraj
Date: Wed May  3 09:22:13 2006
New Revision: 5720

Log:
Redirection problem rectified while saving mail server information - Ahmed

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

Modified: vtigercrm/trunk/modules/Settings/AddMailAccount.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/AddMailAccount.php (original)
+++ vtigercrm/trunk/modules/Settings/AddMailAccount.php Wed May  3 09:22:13 2006
@@ -34,7 +34,7 @@
 
 if(isset($_REQUEST['record']) && $_REQUEST['record']!='')
 {
-	$sql = "select * from mail_accounts where account_id=".$_REQUEST['record'];
+	$sql = "select * from mail_accounts where user_id=".$_REQUEST['record'];
 	$result = $adb->query($sql);
 	$rowcount = $adb->num_rows($result);
 	
@@ -43,6 +43,7 @@
 		while($temprow = $adb->fetchByAssoc($result))
 		{
 			$smarty->assign("DISPLAYNAME", $temprow['display_name']);
+			$smarty->assign("ID", $temprow['user_id']);
 			$smarty->assign("EMAIL", $temprow['mail_id']);
 			$smarty->assign("ACCOUNTNAME", $temprow['account_name']);
 			$smarty->assign($temprow['mail_protocol'],$temprow['mail_protocol']);





More information about the vtigercrm-commits mailing list