summaryrefslogtreecommitdiffstats
path: root/askbot/models/question.py
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/models/question.py')
-rw-r--r--askbot/models/question.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/models/question.py b/askbot/models/question.py
index 27a718ae..81116e0d 100644
--- a/askbot/models/question.py
+++ b/askbot/models/question.py
@@ -525,8 +525,6 @@ class Question(content.Content, DeletableContent):
if self.wiki == False and wiki == True:
self.wiki = True
- self.parse_and_save(author = edited_by)
-
# Update the Question tag associations
if latest_revision.tagnames != tags:
tags_updated = self.update_tags(tags, edited_by)
@@ -539,6 +537,8 @@ class Question(content.Content, DeletableContent):
comment = comment,
)
+ self.parse_and_save(author = edited_by)
+
def add_revision(self,author=None, text=None, comment=None, revised_at=None):
if None in (author, text, comment):
raise Exception('author, text and comment are required arguments')