Ignore:
Timestamp:
2012/05/18 17:57:08 (12 years ago)
Author:
shutta
Message:

#1663 (商品検索時にステータスをのチェックボックスを入れて商品検索>規格管理>完了>商品検索...と繰り返すと、 <input type="hidden" name="search_status[]" value="" />が無限に生成されつづける。)
search_*パラメーターのhidden要素が重複して生成されていたのを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/admin/products/product_class_confirm.tpl

    r21539 r21841  
    2828<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    2929<!--{foreach key=key item=items from=$arrForm}--> 
    30     <!--{if is_array($items.value)}--> 
    31         <!--{foreach key=index item=item from=$items.value}--> 
    32             <input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$item|h}-->" /> 
    33         <!--{/foreach}--> 
    34     <!--{else}--> 
    35         <input type="hidden" name="<!--{$key}-->" value="<!--{$items.value|h}-->" /> 
     30    <!--{if !array_key_exists($key, $arrSearchHidden)}--> 
     31        <!--{if is_array($items.value)}--> 
     32            <!--{foreach key=index item=item from=$items.value}--> 
     33                <input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$item|h}-->" /> 
     34            <!--{/foreach}--> 
     35        <!--{else}--> 
     36            <input type="hidden" name="<!--{$key}-->" value="<!--{$items.value|h}-->" /> 
     37        <!--{/if}--> 
    3638    <!--{/if}--> 
    3739<!--{/foreach}--> 
Note: See TracChangeset for help on using the changeset viewer.