diff --git a/src/design/plone/ioprenoto/restapi/services/bookable_list/get.py b/src/design/plone/ioprenoto/restapi/services/bookable_list/get.py index 285bf89..959389a 100644 --- a/src/design/plone/ioprenoto/restapi/services/bookable_list/get.py +++ b/src/design/plone/ioprenoto/restapi/services/bookable_list/get.py @@ -164,7 +164,7 @@ def reply(self): def get_uo_contact_info(self, uo): result = [] - for contact in getattr(uo, "contact_info", []): + for contact in getattr(uo, "contact_info", None) || []: if contact.isBroken(): logger.error( "Broken relation found in <{UID}>.contact_info".format(UID=uo.UID())