[Vtigercrm-commits] [vtiger-commits] r6305 - /vtigercrm/trunk/modules/HelpDesk/DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 23 00:50:09 EDT 2006


Author: saraj
Date: Mon May 22 22:50:05 2006
New Revision: 6305

Log:
added templateid

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

Modified: vtigercrm/trunk/modules/HelpDesk/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/HelpDesk/DetailView.php (original)
+++ vtigercrm/trunk/modules/HelpDesk/DetailView.php Mon May 22 22:50:05 2006
@@ -81,7 +81,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