Commit 9426a3eb authored by Aurel's avatar Aurel

invert the condition


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17496 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d89ec576
...@@ -294,7 +294,7 @@ class Inventory(Delivery): ...@@ -294,7 +294,7 @@ class Inventory(Delivery):
# Reindex objects # Reindex objects
object_list = [self] object_list = [self]
immediate_reindex_archive = sql_catalog_id is None immediate_reindex_archive = sql_catalog_id is not None
self.portal_catalog.catalogObjectList(object_list, self.portal_catalog.catalogObjectList(object_list,
sql_catalog_id = sql_catalog_id, sql_catalog_id = sql_catalog_id,
disable_archive=disable_archive, disable_archive=disable_archive,
......
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