try to fix forum subscriptions
This commit is contained in:
parent
f673bbc920
commit
067eebc060
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Reference in a new issue