Commit 57f82b20 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43343 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8000da60
......@@ -2066,7 +2066,7 @@ def createDefaultAccessors(property_holder, id, prop = None,
accessor_args = (prop['type'], prop.get('storage_id'))
tester_name = 'has' + UpperCase(id)
if not hasattr(property_holder, tester_name) or prop.get('override', 0):
property_holder.registerAccessor(setter_name, id, Content.Tester, accessor_args)
property_holder.registerAccessor(tester_name, id, Content.Tester, accessor_args)
property_holder.declareProtected(read_permission, tester_name)
else:
accessor_args = (prop['type'], prop.get('storage_id'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment