Browse Source

Fixed wrong arguments for format_quote #122

Peter Justin 10 years ago
parent
commit
55f4aeff1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/forum/views.py

+ 1 - 1
flaskbb/forum/views.py

@@ -368,7 +368,7 @@ def reply_post(topic_id, post_id):
             form.save(current_user, topic)
             return redirect(post.topic.url)
     else:
-        form.content.data = format_quote(post)
+        form.content.data = format_quote(post.username, post.content)
 
     return render_template("forum/new_post.html", topic=post.topic, form=form)