fixed a NPE on setting date of birth via admin functions
This commit is contained in:
parent
1ed48dd63a
commit
28d09ea769
|
@ -753,8 +753,8 @@ class AdminUserContextImpl implements AdminUserContext
|
||||||
PreparedStatement stmt = null;
|
PreparedStatement stmt = null;
|
||||||
AuditRecord ar = null;
|
AuditRecord ar = null;
|
||||||
|
|
||||||
if (date.equals(m_dob))
|
if (((date==null) && (m_dob==null)) || ((date!=null) && (m_dob!=null) && date.equals(m_dob)))
|
||||||
return;
|
return; // equal dates
|
||||||
|
|
||||||
try
|
try
|
||||||
{ // retrieve a connection from the data pool
|
{ // retrieve a connection from the data pool
|
||||||
|
|
Loading…
Reference in New Issue
Block a user