summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polynum_blackboard/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/polynum_blackboard/forms.py b/polynum_blackboard/forms.py
index 8b0dab6..4a3672f 100644
--- a/polynum_blackboard/forms.py
+++ b/polynum_blackboard/forms.py
@@ -161,7 +161,7 @@ laquelle vous souhaitez diffuser votre document')
if self.cleaned_data['licence'] and \
constant.MYCOURSE_TAG in self.cleaned_data['licence'].diffusion_tags:
push, created = models.BlackBoardPush.objects.get_or_create(request=instance)
- push.course_code = self.cleaned_data['course_name']
+ push.course_code = self.cleaned_data['course_code']
push.course_name = self.cleaned_data['course_name']
push.visible_to_students = self.cleaned_data['visible_to_students']
push.save()