[Vtigercrm-commits] [vtiger-commits] r9778 - /vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Nov 7 08:21:53 EST 2006


Author: richie
Date: Tue Nov  7 06:21:46 2006
New Revision: 9778

Log:
multiple select option issue in customfield fixed . Fixes #2392

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/DisplayFields.tpl Tue Nov  7 06:21:46 2006
@@ -101,10 +101,11 @@
 			</td>
 			<td width="30%" align=left class="dvtCellInfo">
 			   <select MULTIPLE name="{$fldname}[]" size="4" style="width:160px;" tabindex="{$vt_tab}" class="small">
-				                    									{foreach key=sel_value item=value from=$arr}
-                    										<option value="{$sel_value}" {$value}>{if $APP.$sel_value}{$APP.$sel_value}{else}{$sel_value}{/if}</option>
-                    									
-                    									{/foreach}
+				{foreach item=arr from=$fldvalue}
+					{foreach key=sel_value item=value from=$arr}
+						<option value="{$sel_value}" {$value}>{if $APP.$sel_value}{$APP.$sel_value}{else}{$sel_value}{/if}</option>
+					{/foreach}
+				{/foreach}
 			   </select>
 			</td>
 





More information about the vtigercrm-commits mailing list