From f482321d0163907ebf632849e7f53f1789d5bf73 Mon Sep 17 00:00:00 2001
From: Dominik George <nik@naturalnet.de>
Date: Fri, 23 Aug 2019 13:35:03 +0200
Subject: [PATCH] Fix copy/paste mistake, advances #6.

---
 biscuit/apps/alsijil/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/biscuit/apps/alsijil/views.py b/biscuit/apps/alsijil/views.py
index 71cd87651..c81d0c2b8 100644
--- a/biscuit/apps/alsijil/views.py
+++ b/biscuit/apps/alsijil/views.py
@@ -52,7 +52,7 @@ def lesson(request: HttpRequest, week: Optional[int] = None, period_id: Optional
             elif request.POST.get('action', None) == 'personal_notes':
                 # Save all personal notes
                 if personal_note_formset.is_valid():
-                    lesson_documentation_form.save()
+                    personal_note_formset.save()
 
         context['lesson_documentation_form'] = lesson_documentation_form
         context['personal_note_formset'] = personal_note_formset
-- 
GitLab