X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bd2f4130a81e68a2bb3c8d88448540ec60fe7be5..0600fa257660dd107bada5971b3296b3244fea03:/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."