[-] BO : Fix bug #PSCFV-9310 bad type for input in helper thankx @Piotr Moćko

This commit is contained in:
gRoussac
2013-07-15 14:47:38 +02:00
parent f1dcf02caf
commit 1a056d5e33
@@ -64,7 +64,7 @@
{$type = 'checkbox'}
{/if}
{if $type != 'null'}
<input type="checkbox" name="{$module->name}_{$list['name_id']}[]" value="{$item[$list['identifier']]}" {if $item['check_list'][$key_module] == 'checked'}checked="checked"{/if}/>
<input type="{$type}" name="{$module->name}_{$list['name_id']}[]" value="{$item[$list['identifier']]}" {if $item['check_list'][$key_module] == 'checked'}checked="checked"{/if}/>
{else}
<input type="hidden" name="{$module->name}_{$list['name_id']}[]" value="{$item[$list['identifier']]}"/>--
{/if}