Skip to content

Commit

Permalink
choiceのfreezeテキストが表示されない場合がある不具合を修正
Browse files Browse the repository at this point in the history
送信された値が整数型にキャストされていることがあるため発生
  • Loading branch information
izayoi256 committed Jan 5, 2017
1 parent 0e8d6c6 commit 53a1768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Eccube/Resource/template/default/Form/form_layout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
{{ form.vars.data.name|default(form.vars.data) }}
{% else %}
{% for choice in choices %}
{% if form.vars.data is same as (choice.value) %}
{% if form.vars.data|format is same as (choice.value|format) %}
{{ choice.label }}
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 53a1768

Please sign in to comment.