minor bug fixed

This commit is contained in:
Massimiliano Assante 2021-10-13 09:01:59 +02:00
parent 5447c142e3
commit ce531e48d4
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@
<%@ page import="com.liferay.portal.util.PortalUtil" %>
<%
String catalogueActualURL = GetterUtil.getString(portletPreferences.getValue("catalogueURL", StringPool.BLANK));
PortletPreferences prefs = request.getPreferences();
String catalogueActualURL = GetterUtil.getString(prefs.getValue("catalogueURL", StringPool.BLANK));
pageContext.setAttribute("catalogueActualURL", catalogueActualURL);
%>
<!-- show the types only when the ckan instance is specified in the config portlet part -->