From 04af502e3a9f360239a0bb4bca46cca1e866d2bf Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 21 Sep 2020 08:06:57 +0000 Subject: allow to show unchecked box if the value is 0 or false --- view/tpl/field_acheckbox.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl index 1810e1ee1..4c8b62f36 100755 --- a/view/tpl/field_acheckbox.tpl +++ b/view/tpl/field_acheckbox.tpl @@ -5,8 +5,8 @@ {{if $notself}} - {{if $field.2 === 1}}{{/if}} - {{if $field.2 === 0}}{{/if}} + {{if $field.2 == 1}}{{/if}} + {{if $field.2 == 0}}{{/if}} {{/if}} -- cgit v1.2.3