param is now trcomment_format stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 07 Aug 2009 12:20:37 +0200
branchstable
changeset 2727 5275d015834c
parent 2725 6d0acd812d98
child 2728 d4689ba782a4
param is now trcomment_format
common/mixins.py
--- a/common/mixins.py	Fri Aug 07 12:12:20 2009 +0200
+++ b/common/mixins.py	Fri Aug 07 12:20:37 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 #############################################