From 877a087b193e60c8ea0915c0667ce7bd43df6d47 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Thu, 28 Apr 2005 15:57:42 +0000 Subject: [PATCH] Fixed wrong variable name. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2965 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BusinessTemplate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index a65a5d645b..17dcd90910 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -514,8 +514,8 @@ class CatalogMethodTemplateItem(ObjectTemplateItem): if method_id in sql_clear_catalog: sql_clear_catalog.remove(method_id) - if method_id in portal_catalog.filter_dict: - del portal_catalog.filter_dict[method_id] + if method_id in catalog.filter_dict: + del catalog.filter_dict[method_id] catalog.sql_catalog_object = tuple(sql_catalog_object) catalog.sql_catalog_object_list = tuple(sql_catalog_object_list) -- 2.30.9