From 53d892aaed07e986d105cf1dfe4f8eb2e3e8df5b Mon Sep 17 00:00:00 2001 From: dkayiwa Date: Thu, 9 Nov 2023 15:22:10 +0300 Subject: [PATCH] RA-2029 Exception evaluating property 'size' for java.util.ArrayList on Java 17 --- omod/src/main/webapp/fragments/header.gsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omod/src/main/webapp/fragments/header.gsp b/omod/src/main/webapp/fragments/header.gsp index 2cc9f51..02a2882 100644 --- a/omod/src/main/webapp/fragments/header.gsp +++ b/omod/src/main/webapp/fragments/header.gsp @@ -11,7 +11,7 @@ def logoLinkUrl = addContextPath(configSettings?."logo-link-url") ?: "/${ org.openmrs.ui.framework.WebConstants.CONTEXT_PATH }/" def useBootstrap = config.containsKey('useBootstrap') ? config.useBootstrap : true; // use bootstrap unless specifically excluded - def enableUserAccountExt = userAccountMenuItems.size > 0; + def enableUserAccountExt = userAccountMenuItems.size() > 0; %>