diff --git a/app/models/journals_for_message.rb b/app/models/journals_for_message.rb index 044d30551..1c7a05cb1 100644 --- a/app/models/journals_for_message.rb +++ b/app/models/journals_for_message.rb @@ -288,7 +288,7 @@ class JournalsForMessage < ActiveRecord::Base if self.jour_type == "Course" course_member_score(self.jour_id, self.user_id, "JournalForMessage") elsif self.jour_type == "HomeworkCommon" - course_member_score(self.jour_id, self.user_id, "HomeworkCommon") + course_member_score(self.jour.course_id, self.user_id, "HomeworkCommon") end end