Commit 92322417 authored by Yoshinori Okuji's avatar Yoshinori Okuji

getSQLCatalog should return the default value when not found.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4869 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 263cb7a4
...@@ -213,7 +213,7 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -213,7 +213,7 @@ class ZCatalog(Folder, Persistent, Implicit):
return default_value return default_value
id = self.default_sql_catalog_id id = self.default_sql_catalog_id
return self._getOb(id) return self._getOb(id, default_value)
def manage_catalogExportProperties(self, REQUEST=None, RESPONSE=None, sql_catalog_id=None): def manage_catalogExportProperties(self, REQUEST=None, RESPONSE=None, sql_catalog_id=None):
""" """
......
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