backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 07 Aug 2009 12:20:50 +0200
changeset 2728 d4689ba782a4
parent 2726 03e7a6efd960 (current diff)
parent 2727 5275d015834c (diff)
child 2729 d3dbd135f319
backport stable
common/mixins.py
--- a/common/mixins.py	Fri Aug 07 12:12:50 2009 +0200
+++ b/common/mixins.py	Fri Aug 07 12:20:50 2009 +0200
@@ -237,7 +237,7 @@
         params = params or self.req.form
         self.change_state(typed_eid(params.pop('state')),
                           params.get('trcomment'),
-                          params.get('trcommentformat'))
+                          params.get('trcomment_format'))
         self.req.set_message(self.req._('__msg state changed'))
 
     # specific vocabulary methods #############################################