/addressbook/ was not anounced as directory gateway

This commit is contained in:
Ralf Becker 2012-01-30 18:53:47 +00:00
parent 01ce3bd88d
commit a5673d388e

View File

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