Skip to content

Commit

Permalink
PHP8 で「受注管理>受注登録」画面がシステムエラー EC-CUBE#787
Browse files Browse the repository at this point in the history
  • Loading branch information
seasoftjapan committed Oct 24, 2023
1 parent edd28de commit 057c694
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions data/Smarty/templates/admin/order/edit.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -585,23 +585,25 @@
<!--{else}-->
<!-- 配送先が1つでも、shipment_itemを更新するために必要 -->
<!--{section name=item loop=$arrShipping.shipment_product_class_id|@count}-->
<!--{assign var=item_index value="`$smarty.section.item.index`"}-->
<!--{assign var=key value="shipment_product_class_id"}-->
<input type="hidden" name="<!--{$key}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" />
<!--{assign var=key value="shipment_product_code"}-->
<input type="hidden" name="<!--{$key}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" />
<!--{assign var=key1 value="shipment_product_name"}-->
<!--{assign var=key2 value="shipment_classcategory_name1"}-->
<!--{assign var=key3 value="shipment_classcategory_name2"}-->
<input type="hidden" name="<!--{$key1}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key1][$item_index]|h}-->" />
<input type="hidden" name="<!--{$key2}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key2][$item_index]|h}-->" />
<input type="hidden" name="<!--{$key3}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key3][$item_index]|h}-->" />
<!--{assign var=key value="shipment_price"}-->
<input type="hidden" name="<!--{$key}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" />
<!--{assign var=key value="shipment_quantity"}-->
<input type="hidden" name="<!--{$key}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" />
<!--{/section}-->
<!--{if !empty($arrShipping.shipment_product_class_id)}-->
<!--{section name=item loop=$arrShipping.shipment_product_class_id|@count}-->
<!--{assign var=item_index value="`$smarty.section.item.index`"}-->
<!--{assign var=key value="shipment_product_class_id"}-->
<input type="hidden" name="<!--{$key}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" />
<!--{assign var=key value="shipment_product_code"}-->
<input type="hidden" name="<!--{$key}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" />
<!--{assign var=key1 value="shipment_product_name"}-->
<!--{assign var=key2 value="shipment_classcategory_name1"}-->
<!--{assign var=key3 value="shipment_classcategory_name2"}-->
<input type="hidden" name="<!--{$key1}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key1][$item_index]|h}-->" />
<input type="hidden" name="<!--{$key2}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key2][$item_index]|h}-->" />
<input type="hidden" name="<!--{$key3}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key3][$item_index]|h}-->" />
<!--{assign var=key value="shipment_price"}-->
<input type="hidden" name="<!--{$key}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" />
<!--{assign var=key value="shipment_quantity"}-->
<input type="hidden" name="<!--{$key}-->[<!--{$shipping_index|h}-->][<!--{$item_index}-->]" value="<!--{$arrShipping[$key][$item_index]|h}-->" />
<!--{/section}-->
<!--{/if}-->
<!--{/if}-->
<table class="form">
Expand Down

0 comments on commit 057c694

Please sign in to comment.