oops stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 12 Oct 2009 13:16:08 +0200
branchstable
changeset 3643 8513fd032d1f
parent 3642 8bc800f8b173
child 3644 b5a8ba388494
oops
web/views/editforms.py
--- a/web/views/editforms.py	Mon Oct 12 13:13:11 2009 +0200
+++ b/web/views/editforms.py	Mon Oct 12 13:16:08 2009 +0200
@@ -176,7 +176,7 @@
                 entity, rtype, role, 'edition', default, onsubmit, reload,
                 attrcategories=self.attrcategories)
             if not self.should_edit_attribute(entity, rschema, role, form):
-                self.w(self.entity.printable_value(rtype))
+                self.w(entity.printable_value(rtype))
                 return
             value = entity.printable_value(rtype) or default
             self.attribute_form(lzone, value, form,