Fixing missing shared key when sharing a story.

This commit is contained in:
Samuel Clay 2013-10-04 13:05:31 -07:00
parent c6e069fa29
commit e2e74809dc

View file

@ -575,6 +575,7 @@ def mark_story_as_shared(request):
story = stories[0]
story['shared_comments'] = strip_tags(shared_story['comments'] or "")
story['shared_by_user'] = True
story['shared'] = True
shared_date = localtime_for_timezone(shared_story['shared_date'], request.user.profile.timezone)
story['short_parsed_date'] = format_story_link_date__short(shared_date)
story['long_parsed_date'] = format_story_link_date__long(shared_date)