--- a/src/pyams_thesaurus/zmi/widget/templates/terms-tree-input.pt Tue Aug 28 11:43:39 2018 +0200
+++ b/src/pyams_thesaurus/zmi/widget/templates/terms-tree-input.pt Tue Aug 28 16:48:52 2018 +0200
@@ -17,7 +17,7 @@
id="term_${subterm/label}"
name="${view/name}:list"
value="${subterm/label}"
- checked="${python:'checked' if subterm.label in view.value else None}" />
+ checked="${python:'checked' if subterm.label in (view.value or ()) else None}" />
<i></i>
<div class="${python:'' if published else 'bold margin-top-5'}">
${python:subterm.alt or subterm.label}