[Vtigercrm-commits] [vtiger-commits] r6304 - /vtigercrm/trunk/modules/Contacts/DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 23 00:47:40 EDT 2006


Author: saraj
Date: Mon May 22 22:47:36 2006
New Revision: 6304

Log:
added templateid

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

Modified: vtigercrm/trunk/modules/Contacts/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Contacts/DetailView.php (original)
+++ vtigercrm/trunk/modules/Contacts/DetailView.php Mon May 22 22:47:36 2006
@@ -94,7 +94,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