From 35291044c96f0fccbe54cec53216cacb5d34ed04 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sun, 5 Oct 2014 20:15:15 +0200 Subject: [PATCH] [FIX] small bug --- addons/website_forum/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_forum/controllers/main.py b/addons/website_forum/controllers/main.py index d86230d..a45bc93 100644 --- a/addons/website_forum/controllers/main.py +++ b/addons/website_forum/controllers/main.py @@ -281,7 +281,7 @@ class WebsiteForum(http.Controller): new_question_id = request.registry['forum.post'].create(cr, uid, { 'forum_id': forum.id, 'name': post.get('post_name', ''), - 'content': post.get('content'), + 'content': post.get('content', False), 'content_link': post.get('content_link', False), 'parent_id': post_parent and post_parent.id or False, 'tag_ids': post_tag_ids, -- 1.7.10.4