/addressbook/ was not anounced as directory gateway

This commit is contained in:
Ralf Becker 2012-02-10 08:59:10 +00:00
parent 83653c362f
commit ed96f75391

View File

@ -822,7 +822,7 @@ class groupdav extends HTTP_WebDAV_Server
$props['resourcetype'][] = self::mkprop($ns,$type,''); $props['resourcetype'][] = self::mkprop($ns,$type,'');
} }
// add /addressbook/ as directory gateway // add /addressbook/ as directory gateway
if ($app == 'addressbook' && $path == '/') if ($path == '/addressbook/')
{ {
$props['resourcetype'][] = self::mkprop(self::CARDDAV, 'directory', ''); $props['resourcetype'][] = self::mkprop(self::CARDDAV, 'directory', '');
} }