X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3193141f55df20910cf8ba35f9e669d79c90d3f4..409a2386cf6f426d093f1fb5c7c5840d4f39fbb5:/apps/api/forms.py?ds=sidebyside 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."