From 9ff5a7fec874731945bde9ddd13ccf3f943c3668 Mon Sep 17 00:00:00 2001 From: Thomas Fransolet Date: Wed, 24 Apr 2024 15:23:34 +0200 Subject: [PATCH] fix issue --- ManagerService/Controllers/ConfigurationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ManagerService/Controllers/ConfigurationController.cs b/ManagerService/Controllers/ConfigurationController.cs index 9c63ded..1fdb205 100644 --- a/ManagerService/Controllers/ConfigurationController.cs +++ b/ManagerService/Controllers/ConfigurationController.cs @@ -578,7 +578,7 @@ namespace ManagerService.Controllers var resourceIds = language != null ? agendaDTO.resourceIds.Where(a => a.language == language) : agendaDTO.resourceIds; foreach (var resourceId in resourceIds) { - if (resourceId.value != null) + if (resourceId.value != null && resourceId.value.Trim().Length > 0) { addResourceToList(resourceDTOs, resourceId.value); }