summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-02-04 10:46:11 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-02-04 10:46:11 (GMT)
commitb0be19f77fbdff9c6d800192ece1af8fcd251252 (patch)
tree3f2cb361c467f671fd47424082630538845e1559
parent2dd7187833cc19fcd7ced98f5d26901e39f1ba4f (diff)
downloadroundcubemail-plugins-kolab-b0be19f77fbdff9c6d800192ece1af8fcd251252.tar.gz
Fix type change detection in set_folder()
-rw-r--r--plugins/libkolab/lib/kolab_storage_folder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libkolab/lib/kolab_storage_folder.php b/plugins/libkolab/lib/kolab_storage_folder.php
index 0610325..f7370bb 100644
--- a/plugins/libkolab/lib/kolab_storage_folder.php
+++ b/plugins/libkolab/lib/kolab_storage_folder.php
@@ -103,7 +103,7 @@ class kolab_storage_folder
$this->owner = $this->namespace = $this->resource_uri = $this->info = $this->idata = null;
// get a new cache instance of folder type changed
- if (!$this->cache || $type != $oldtype)
+ if (!$this->cache || $this->type != $oldtype)
$this->cache = kolab_storage_cache::factory($this);
else
$this->cache->set_folder($this);