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

Rolling in LDAP vCard fix from trunk.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@9738 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2c024260
...@@ -388,6 +388,11 @@ public class LdapVCardProvider implements VCardProvider, PropertyEventListener { ...@@ -388,6 +388,11 @@ public class LdapVCardProvider implements VCardProvider, PropertyEventListener {
} }
} }
} }
else {
// No vcard exists in database
Log.debug("LdapVCardProvider: Database has no vCard stored, accepting update.");
return true;
}
// Ok, either something bad changed or nothing changed. Either way, user either: // Ok, either something bad changed or nothing changed. Either way, user either:
// 1. should not have tried to change something 'readonly' // 1. should not have tried to change something 'readonly'
// 2. shouldn't have bothered submitting no changes // 2. shouldn't have bothered submitting no changes
......
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