Commit 9eb5de2c authored by LAVENIER's avatar LAVENIER
Browse files

[fix] Referential DAO: fix NullPointerException when using includedIds

parent 3149248c
......@@ -628,7 +628,7 @@ public class ReferentialDaoImpl
if (statusIdsClause != null) {
whereClause = (whereClause == null) ? statusIdsClause : builder.and(whereClause, statusIdsClause);
}
if (excludedIdsParam != null) {
if (includedIdsParam != null) {
whereClause = (whereClause == null) ? includedClause : builder.and(whereClause, includedClause);
}
if (excludedIdsParam != null) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment