diff options
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/addressbook-storage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-storage.c b/addressbook/gui/component/addressbook-storage.c index e4bb8e1441..9a8554115e 100644 --- a/addressbook/gui/component/addressbook-storage.c +++ b/addressbook/gui/component/addressbook-storage.c @@ -119,6 +119,9 @@ create_ldap_folder (EvolutionStorage *storage, if (strcmp (type, "contacts")) return GNOME_Evolution_Storage_UNSUPPORTED_TYPE; + if (strcmp (parent_physical_uri, "")) /* ldap servers can't have subfolders */ + return GNOME_Evolution_Storage_INVALID_URI; + addressbook_create_new_source (path + 1, NULL); return GNOME_Evolution_Storage_OK; |