X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bd2f4130a81e68a2bb3c8d88448540ec60fe7be5..aeb0dad220c5e4da9ddd5e8df9f6b0dc554f513f:/apps/api/forms.py diff --git a/apps/api/forms.py b/apps/api/forms.py index 7532e179..22cadb9e 100644 --- a/apps/api/forms.py +++ b/apps/api/forms.py @@ -120,7 +120,7 @@ class TextUpdateForm(DocumentRetrieveForm): value = self.cleaned_data['message'] if value: - return u"$USER$ " + request.POST['message'] + return u"$USER$ " + value else: return u"$AUTO$ XML content update."