]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/field_intcheckbox.tpl
Avoid memory issue in exception
[friendica.git] / view / theme / frio / templates / field_intcheckbox.tpl
index 8863d14c4d794cc5621c14499a878a0ab984039d..18a2ea6ca57b4413a957a565e278ac2ca8a20ade 100644 (file)
@@ -1,7 +1,9 @@
 
        <div class="form-group field checkbox">
-               <input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.3|escape:'html'}}" {{if $field.2}}checked="checked"{{/if}} aria-checked="{{if $field.2}}true{{else}}false{{/if}}" aria-describedby="{{$field.0}}_tip">
+               <input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.3}}" {{if $field.2}}checked="checked"{{/if}} aria-checked="{{if $field.2}}true{{else}}false{{/if}}" aria-describedby="{{$field.0}}_tip">
                <label for="id_{{$field.0}}">{{$field.1}}</label>
-               <span class="help-block" role="tooltip" id="{{$field.0}}_tip">{{$field.4}}</span>
+               {{if $field.4}}
+               <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.4 nofilter}}</span>
+               {{/if}}
        </div>
        <div class="clear"></div>