Commit c8a3ed71 authored by Martin Lowe's avatar Martin Lowe
Browse files

Add additional check to ensure the dateUpdated is present when checking

parent 07f9e91d
......@@ -276,6 +276,8 @@ public class MembershipForm extends BareNode implements TargetedClone<Membership
if (dateCreated != null && StringUtils.isNumeric(dateCreated)) {
stmt.addClause(new ParameterizedSQLStatement.Clause(TABLE.getAlias() + ".dateUpdated < ?",
new Object[] { Long.parseLong(dateCreated) }));
stmt.addClause(new ParameterizedSQLStatement.Clause(TABLE.getAlias() + ".dateUpdated IS NOT NULL",
new Object[] {}));
}
return stmt;
}
......
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