[Vtigercrm-commits] [vtiger-commits] r6302 - /vtigercrm/trunk/modules/Leads/DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 23 00:45:20 EDT 2006


Author: saraj
Date: Mon May 22 22:45:17 2006
New Revision: 6302

Log:
added templateid

Modified:
    vtigercrm/trunk/modules/Leads/DetailView.php

Modified: vtigercrm/trunk/modules/Leads/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/DetailView.php (original)
+++ vtigercrm/trunk/modules/Leads/DetailView.php Mon May 22 22:45:17 2006
@@ -100,7 +100,7 @@
 	$tempVal = $adb->fetch_array($wordTemplateResult);
 	for($templateCount=0;$templateCount<$tempCount;$templateCount++)
 	{
-		$optionString[] =$tempVal["filename"];
+		$optionString[$tempVal["templateid"]] =$tempVal["filename"];
 		$tempVal = $adb->fetch_array($wordTemplateResult);
 	}
 	$smarty->assign("WORDTEMPLATEOPTIONS",$app_strings['LBL_SELECT_TEMPLATE_TO_MAIL_MERGE']);





More information about the vtigercrm-commits mailing list