mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Fix build
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
{% for databox in user.ACL().get_granted_sbas('bas_chupub') %}
|
||||
<optgroup label="{{ databox.get_viewname() }}">
|
||||
{% for collection in databox.get_collections() %}
|
||||
<option {% if feed.get_collection().get_base_id() == collection.get_base_id() %}selected="selected"{% endif %} value="{{ collection.get_base_id() }}">{{ collection.get_name() }}</option>
|
||||
<option {% if feed.get_collection() and feed.get_collection().get_base_id() == collection.get_base_id() %}selected="selected"{% endif %} value="{{ collection.get_base_id() }}">{{ collection.get_name() }}</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user