From 6d2a72726f95ba762ede5c25aff8b73573fb77c0 Mon Sep 17 00:00:00 2001 From: citrons Date: Fri, 6 Aug 2021 04:25:55 +0000 Subject: fix forum edit page --- apioforum/forum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apioforum/forum.py b/apioforum/forum.py index cae4eab..d177b16 100644 --- a/apioforum/forum.py +++ b/apioforum/forum.py @@ -332,7 +332,7 @@ def forum_config_page(forum, create=False): return redirect(url_for('forum.edit_forum',forum_id=forum['id'])) if not create: db.execute("UPDATE forums SET name = ?, description = ?, unlisted = ? WHERE id = ?", - (name,desc,forum['id'])) + (name,desc,unlisted,forum['id'])) fid = forum['id'] else: cur = db.cursor() -- cgit v1.2.3