pass topic to flaskbb_tpl_topic_controls
@@ -116,7 +116,7 @@
<div class="btn btn-primary"><span class="fa fa-lock fa-fw"></span> {% trans %}Locked{% endtrans %}</div>
{% endif %}
- {{ run_hook("flaskbb_tpl_topic_controls") }}
+ {{ run_hook("flaskbb_tpl_topic_controls", topic=topic) }}
</div>
{% endif %} {# end current_user.is_authenticated #}