fixed bug database error when userLanguageId is null

Change-Id: I53428c7f319dbe51b5e061686314565b3679397f