Commit caa742cc authored by Ad Schellevis's avatar Ad Schellevis

(mvc) overlapping variables leading to scope issues in php7/phalcon volt templates

parent 52bfec33
...@@ -85,6 +85,8 @@ data_title : data-title to set on form ...@@ -85,6 +85,8 @@ data_title : data-title to set on form
{% if help|default(false) %}<small>{{ lang._('full help') }} </small><a href="#"><i class="fa fa-toggle-off text-danger" id="show_all_help_{{id}}" type="button"></i></a>{% endif %} {% if help|default(false) %}<small>{{ lang._('full help') }} </small><a href="#"><i class="fa fa-toggle-off text-danger" id="show_all_help_{{id}}" type="button"></i></a>{% endif %}
</td> </td>
</tr> </tr>
{% set advanced=false %}
{% set help=false %}
{% for field in fields|default({})%} {% for field in fields|default({})%}
{% if field['type'] == 'header' %} {% if field['type'] == 'header' %}
{# close table and start new one with header #} {# close table and start new one with header #}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment