diff options
Diffstat (limited to 'apps/remoteStorage/lib_remoteStorage.php')
-rw-r--r-- | apps/remoteStorage/lib_remoteStorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/remoteStorage/lib_remoteStorage.php b/apps/remoteStorage/lib_remoteStorage.php index 4f5c9664509..a9b73516aad 100644 --- a/apps/remoteStorage/lib_remoteStorage.php +++ b/apps/remoteStorage/lib_remoteStorage.php @@ -41,7 +41,7 @@ class OC_remoteStorage { $token=uniqid(); OC_Util::setupFS(OC_User::getUser()); self::addToken($token, $appUrl, $categories); - foreach($categories as $category) { + foreach(explode(',', $categories) as $category) { //TODO: input checking on $category $scopePathParts = array('remoteStorage', $category); for($i=0;$i<=count($scopePathParts);$i++){ |