Commit 61984072 authored by Nicolas Delaby's avatar Nicolas Delaby

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
parent eb840130
......@@ -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)
......
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