Skip to content
Snippets Groups Projects
Commit 046287e1 authored by Martin Mareš's avatar Martin Mareš
Browse files

Batch-editing: Do not publish all tasks :)

parent f4f501c9
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@ def admin_topics(sident: str, cident: str):
flash('Deadlines changed.', 'info')
done = True
if batch_form.publish:
if batch_form.publish.data:
for t in selected_topics:
publish_topic(t)
if selected_topics:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment