diff --git a/superdesk/publish/subscribers.py b/superdesk/publish/subscribers.py index f48a4a6453..21a809d247 100644 --- a/superdesk/publish/subscribers.py +++ b/superdesk/publish/subscribers.py @@ -295,7 +295,7 @@ def get_active(self): def hideConfigField(self, docs, field_name): for doc in docs: - for destination in doc["destinations"]: + for destination in doc.get("destinations", {}): config = destination.get("config", {}) if config.get(field_name): del config[field_name]