summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-06-27 20:42:44 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-06-27 20:44:13 (GMT)
commit8229ab3b3e05e0e9f70b8d73caad40ca99188a81 (patch)
tree5f7c4ec524fc2cd78dec01df0392048c8fab5e14 /plugins
parentd42d47518c9af6ea8ecc31f8b23e8a7a24be387f (diff)
downloadroundcubemail-plugins-kolab-8229ab3b3e05e0e9f70b8d73caad40ca99188a81.tar.gz
Make sure only the first path segment is removed
Diffstat (limited to 'plugins')
-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 7831140..1bcb3d9 100644
--- a/plugins/libkolab/lib/kolab_storage_folder.php
+++ b/plugins/libkolab/lib/kolab_storage_folder.php
@@ -232,7 +232,7 @@ class kolab_storage_folder
if (is_array($nsdata[0]) && strlen($nsdata[0][0]) && strpos($this->name, $nsdata[0][0]) === 0) {
$subpath = substr($this->name, strlen($nsdata[0][0]));
if ($ns == 'other') {
- list($user, $suffix) = explode($nsdata[0][1], $subpath);
+ list($user, $suffix) = explode($nsdata[0][1], $subpath, 2);
$subpath = $suffix;
}
}