Commit 2acf5481 authored by Michal Čihař's avatar Michal Čihař

Correct updating of suggestion counts

parent 623774f7
......@@ -1100,12 +1100,9 @@ class Translation(models.Model, URLMixin):
user=request.user
)
# Increase suggestion counter
self.have_suggestion += 1
# Save updated suggestion count
# Update suggestion count
if ret:
self.save()
self.update_stats()
return ret
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment