summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/forum.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/apioforum/forum.py b/apioforum/forum.py
index 108f0ba..084c75d 100644
--- a/apioforum/forum.py
+++ b/apioforum/forum.py
@@ -361,12 +361,14 @@ def forum_config_page(forum, create=False):
if create:
name = ""
desc = ""
+ unlisted = False
else:
name = forum['name']
desc = forum['description']
+ unlisted = forum['unlisted']
cancel_link = url_for('forum.view_forum',forum_id=forum['id'])
return render_template("edit_forum.html",create=create,
- name=name,description=desc,cancel_link=cancel_link)
+ name=name,description=desc,unlisted=unlisted,cancel_link=cancel_link)
@forum_route("edit",methods=["GET","POST"])
@requires_bureaucrat