Fixes to pull/push logic.
[redakcja.git] / apps / api / forms.py
index 7532e17..22cadb9 100644 (file)
@@ -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."