diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/Extensions.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/Extensions.java index 23fd3c3517..f552d00e4b 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/Extensions.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/Extensions.java @@ -5,14 +5,14 @@ import org.adempiere.base.Service; import org.adempiere.base.ServiceQuery; public class Extensions { - + public static Object getForm(String id) { if (Core.isExtension(id)) { id = id.substring(Core.OSGI_PREFIX.length()); } - + ServiceQuery query = new ServiceQuery(); - query.put("id", id); + query.put(ServiceQuery.EXTENSION_ID, id); return Service.locate(Object.class, "org.adempiere.webui.Form", query); } }