X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2519a2081c61614723ca29c7401fd86533efc34c..ddd5ce2848efb9d43ed14322b1a9fa1494711865:/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."