Commit d051c70b authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-1319] Was saving start time as end time. Fixed.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@10188 b35dd754-fafc-0310-a699-88a17e54d16e
parent bf3fa5eb
......@@ -105,8 +105,8 @@ public class DefaultLockOutProvider implements LockOutProvider {
else {
pstmt.setNull(2, Types.VARCHAR);
}
if (flag.getStartTime() != null) {
pstmt.setString(3, StringUtils.dateToMillis(flag.getStartTime()));
if (flag.getEndTime() != null) {
pstmt.setString(3, StringUtils.dateToMillis(flag.getEndTime()));
}
else {
pstmt.setNull(3, Types.VARCHAR);
......
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