Commit f86a8484 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Last fix was not complete.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2966 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 877a087b
...@@ -514,7 +514,7 @@ class CatalogMethodTemplateItem(ObjectTemplateItem): ...@@ -514,7 +514,7 @@ class CatalogMethodTemplateItem(ObjectTemplateItem):
if method_id in sql_clear_catalog: if method_id in sql_clear_catalog:
sql_clear_catalog.remove(method_id) sql_clear_catalog.remove(method_id)
if method_id in catalog.filter_dict: if method_id in catalog.filter_dict.keys():
del catalog.filter_dict[method_id] del catalog.filter_dict[method_id]
catalog.sql_catalog_object = tuple(sql_catalog_object) catalog.sql_catalog_object = tuple(sql_catalog_object)
......
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