app/soc/views/models/document.py
changeset 588 d6ae9dd215fb
parent 584 ba8a624506e5
child 605 4a384d412640
--- a/app/soc/views/models/document.py	Tue Nov 25 23:16:32 2008 +0000
+++ b/app/soc/views/models/document.py	Wed Nov 26 15:52:38 2008 +0000
@@ -119,6 +119,9 @@
     if not entity:
       # new document so set author
       fields['author'] = user
+    else:
+      # else the author is the original author
+      fields['author'] = entity.author
     
     fields['modified_by'] = user