Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix countable fatal error on PHP8 #501

Merged
merged 1 commit into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/Smarty/templates/default/cart/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div id="undercolumn_cart">
<h2 class="title"><!--{$tpl_title|h}--></h2>

<!--{if $smarty.const.USE_POINT !== false || count($arrProductsClass) > 0}-->
<!--{if $smarty.const.USE_POINT !== false || !empty($arrProductsClass)}-->
<!--★ポイント案内★-->
<!--{if $smarty.const.USE_POINT !== false}-->
<div class="point_announce">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

 メールアドレス:<!--{$arrOrder.order_email}-->

<!--{if count($arrShipping) >= 1}-->
<!--{if is_array($arrShipping) && count($arrShipping) >= 1}-->
************************************************
 配送情報
************************************************
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/default/products/detail.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
<div class="review_bloc clearfix">
<p>この商品に対するご感想をぜひお寄せください。</p>
<div class="review_btn">
<!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}-->
<!--{if is_array($arrReview) && count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}-->
<!--★新規コメントを書き込む★-->
<a href="./review.php"
onclick="eccube.openWindow('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','600','640'); return false;"
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/mobile/mail_templates/order_mail.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

 メールアドレス:<!--{$arrOrder.order_email}-->

<!--{if count($arrShipping) >= 1}-->
<!--{if is_array($arrShipping) && count($arrShipping) >= 1}-->
■配送情報

<!--{foreach item=shipping name=shipping from=$arrShipping}-->
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/sphone/products/detail.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@
<div class="review_bloc clearfix">
<p>この商品に対するご感想をぜひお寄せください。</p>
<div class="review_btn">
<!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}-->
<!--{if is_array($arrReview) && count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}-->
<!--★新規コメントを書き込む★-->
<a href="./review.php?product_id=<!--{$arrProduct.product_id}-->" target="_blank" class="btn_sub">新規コメントを書き込む</a>
<!--{/if}-->
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/sphone/products/list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<!--{include file="frontparts/search_zero.tpl"}-->
<!--{/foreach}-->

<!--{if count($arrProducts) < $tpl_linemax}-->
<!--{if is_array($arrProducts) && count($arrProducts) < $tpl_linemax}-->
<div class="btn_area">
<p><a rel="external" href="javascript: void(0);" class="btn_more" id="btn_more_product" onClick="getProducts(<!--{$disp_number|h}-->); return false;">もっとみる(+<!--{$disp_number|h}-->件)</a></p>
</div>
Expand Down