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;
 | 
			
		||||
    AuditRecord ar = null;
 | 
			
		||||
 | 
			
		||||
    if (date.equals(m_dob))
 | 
			
		||||
      return;
 | 
			
		||||
    if (((date==null) && (m_dob==null)) || ((date!=null) && (m_dob!=null) && date.equals(m_dob)))
 | 
			
		||||
      return;  // equal dates
 | 
			
		||||
 | 
			
		||||
    try
 | 
			
		||||
    { // retrieve a connection from the data pool
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user