Fix broken folder type detection after refactorings

This commit is contained in:
Thomas Bruederli 2012-05-15 09:56:52 +02:00
parent 55513b2a19
commit d9924e675d

View file

@ -73,7 +73,7 @@ class kolab_storage_folder
{ {
if (!$type) { if (!$type) {
$metadata = $this->imap->get_metadata($name, array(kolab_storage::CTYPE_KEY)); $metadata = $this->imap->get_metadata($name, array(kolab_storage::CTYPE_KEY));
$type = $metadata[$this->name][kolab_storage::CTYPE_KEY]; $type = $metadata[$name][kolab_storage::CTYPE_KEY];
} }
$this->name = $name; $this->name = $name;