aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/forum.py2
1 files changed, 1 insertions, 1 deletions
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()