Add check whether share.vfs_objects is defined
This commit is contained in:
parent
735b337ca6
commit
b6fd2a5bbd
@ -57,7 +57,7 @@
|
||||
{% if share.comment is defined %}
|
||||
comment = {{ share.comment }}
|
||||
{% endif %}
|
||||
{% if share.vfs_objects|length > 0 %}
|
||||
{% if share.vfs_objects is defined and share.vfs_objects|length > 0 %}
|
||||
vfs objects = {% for obj in share.vfs_objects %}{{obj.name}} {% endfor %}
|
||||
|
||||
{% for obj in share.vfs_objects %}
|
||||
|
Loading…
Reference in New Issue
Block a user