X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c6fc086238de9fefb56169edc148bbcd3ff866fa..de4a58ffa2b1268afa1764b8c54a82d96a7875f6:/apps/api/forms.py?ds=inline diff --git a/apps/api/forms.py b/apps/api/forms.py index 2c9ae66a..c5e0b670 100644 --- a/apps/api/forms.py +++ b/apps/api/forms.py @@ -100,7 +100,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."