GitLab will be shut down on June 25 to move to a new facility.

Unverified Commit 2baa874c authored by Martin Lowe's avatar Martin Lowe 🇨🇦 Committed by GitHub
Browse files

Merge pull request #329 from autumnfound/malowe/master/updated-insurance

Add additional check to ensure the dateUpdated is present when checking
parents 07f9e91d c8a3ed71
......@@ -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