try to fix forum subscriptions

This commit is contained in:
Glen Chiacchieri 2013-09-16 16:40:08 +00:00
parent f673bbc920
commit 067eebc060

View file

@ -73,7 +73,7 @@ def scratch_notify_topic_subscribers(post_id):
new post.
"""
from notifications.models import SocialAction
post = Post.objects.select_related('topic').get(pk=post_id)
post = Post.objects.select_related('topic').get(id=post_id)
topic = post.topic
if post != topic.head:
social_action = SocialAction(