diff --git a/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java b/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java index e5f94cbc..a8cf0963 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java @@ -262,6 +262,7 @@ public class AdvancedOperationUtil { } public static boolean evalInt_Dett_UserID(IntPratica intPratica){ + _log.info("lastDettPraticaUserID: "+getLastDettPraticaUserID(intPratica)+" || intPraticaUserID: "+intPratica.getUserId()); return getLastDettPraticaUserID(intPratica) == intPratica.getUserId(); } @@ -274,7 +275,7 @@ public class AdvancedOperationUtil { } catch (SystemException e){ _log.error(e,e); } - return -1; + return intPratica.getUserId(); } private static List _getDettPraticaList(long intPraticaId) {