Commit c38ce54b authored by Jean-Paul Smets's avatar Jean-Paul Smets

fixed typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@464 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 861ee72b
...@@ -65,7 +65,7 @@ class BaseTool (UniqueObject, Folder): ...@@ -65,7 +65,7 @@ class BaseTool (UniqueObject, Folder):
# Filter content (ZMI)) # Filter content (ZMI))
def filtered_meta_types(self, user=None): def filtered_meta_types(self, user=None):
# Filters the list of available meta types. # Filters the list of available meta types.
all = TemplateTool.inheritedAttribute('filtered_meta_types')(self) all = BaseTool.inheritedAttribute('filtered_meta_types')(self)
meta_types = [] meta_types = []
for meta_type in self.all_meta_types(): for meta_type in self.all_meta_types():
if meta_type['name'] in self.allowed_types: if meta_type['name'] in self.allowed_types:
......
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