projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffbe9d
)
[FIX] small bug
author
Fabien Pinckaers
<fp@openerp.com>
Sun, 5 Oct 2014 18:15:15 +0000
(20:15 +0200)
committer
Fabien Pinckaers
<fp@openerp.com>
Sun, 5 Oct 2014 18:15:15 +0000
(20:15 +0200)
addons/website_forum/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/website_forum/controllers/main.py
b/addons/website_forum/controllers/main.py
index
d86230d
..
a45bc93
100644
(file)
--- 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,