diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2013-06-27 20:42:44 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2013-06-27 20:44:13 (GMT) |
commit | 8229ab3b3e05e0e9f70b8d73caad40ca99188a81 (patch) | |
tree | 5f7c4ec524fc2cd78dec01df0392048c8fab5e14 | |
parent | d42d47518c9af6ea8ecc31f8b23e8a7a24be387f (diff) | |
download | roundcubemail-plugins-kolab-8229ab3b3e05e0e9f70b8d73caad40ca99188a81.tar.gz |
Make sure only the first path segment is removed
-rw-r--r-- | plugins/libkolab/lib/kolab_storage_folder.php | 2 |
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; } } |