Skip to content

Commit

Permalink
非推奨メソッドを使用していた箇所の修正
Browse files Browse the repository at this point in the history
`php_*` を修正
  • Loading branch information
nanasess committed May 28, 2022
1 parent 7cd9c2e commit 9e404fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Eccube/Resource/template/admin/search_items.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ file that was distributed with this source code.
{%- endfor -%}
{{ not loop.last ? ', ' }}
{%- endfor -%}
{%- elseif php_is_a(child.vars.data, '\DateTime') -%}
{%- elseif child.vars.data.timestamp is defined -%}
{# DateTimeType の時は分まで表示 #}
{% if 'datetime' in child.vars.id %}
{{ child.vars.data|date_sec }}
Expand Down

0 comments on commit 9e404fc

Please sign in to comment.