From 61984072ed0b43d20a9850af3093b67a383c1a50 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 7 Jun 2010 14:54:32 +0000
Subject: [PATCH] Fix error in previous commit fallback to previous default
 value only if parameter is _MARKER

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36032 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/BusinessTemplate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index c4c4011506..6b5ef36372 100644
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -5281,7 +5281,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
         # override update_catalog parameter only if value
         # is not explicitely passed.
         update_catalog = 1
-      else:
+      elif update_catalog is _MARKER:
         update_catalog = 0
       if update_catalog:
         catalog = _getCatalogValue(self)
-- 
2.30.9