diff --git a/base/src/org/spin/model/MADAppRegistration.java b/base/src/org/spin/model/MADAppRegistration.java index 7575068daa..cd8fa3a9c0 100644 --- a/base/src/org/spin/model/MADAppRegistration.java +++ b/base/src/org/spin/model/MADAppRegistration.java @@ -101,7 +101,7 @@ public static MADAppRegistration getByApplicationType(Properties ctx, String app return definition; definition = new Query(ctx, Table_Name , COLUMNNAME_ApplicationType + "=? AND AD_Client_ID IN(0, ?)", trxName) - .setParameters(applicationType) + .setParameters(applicationType, clientId) .setOnlyActiveRecords(true) .setOrderBy(COLUMNNAME_AD_Client_ID + " DESC") .first()