mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 19:22:22 -05:00
Carddav: fix null value in email address
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1476 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
2d0f0de86c
commit
f23f48e78d
@ -913,7 +913,7 @@ public class EwsExchangeSession extends ExchangeSession {
|
||||
// handle email addresses
|
||||
IndexedFieldUpdate emailFieldUpdate = null;
|
||||
for (Map.Entry<String, String> entry : entrySet()) {
|
||||
if (entry.getKey().startsWith("smtpemail")) {
|
||||
if (entry.getKey().startsWith("smtpemail") && entry.getValue() != null) {
|
||||
if (emailFieldUpdate == null) {
|
||||
emailFieldUpdate = new IndexedFieldUpdate("EmailAddresses");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user