summaryrefslogtreecommitdiffstats
path: root/apps/remoteStorage
diff options
context:
space:
mode:
authorMichiel de Jong <michiel@unhosted.org>2012-02-25 23:15:31 +0000
committerMichiel de Jong <michiel@unhosted.org>2012-02-25 23:15:31 +0000
commita7d7597d552ce41aa7f9d77c751b9160224cf96a (patch)
treef99f5a89b0d48f1166eb0b757d65793697c059d1 /apps/remoteStorage
parent42735429dac1bfdb9dca403f9abc97313acd8d3d (diff)
downloadnextcloud-server-a7d7597d552ce41aa7f9d77c751b9160224cf96a.tar.gz
nextcloud-server-a7d7597d552ce41aa7f9d77c751b9160224cf96a.zip
fix type error in dir creation for categories
Diffstat (limited to 'apps/remoteStorage')
-rw-r--r--apps/remoteStorage/appinfo/info.xml2
-rw-r--r--apps/remoteStorage/lib_remoteStorage.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/remoteStorage/appinfo/info.xml b/apps/remoteStorage/appinfo/info.xml
index 5f061da258c..1fc146aac73 100644
--- a/apps/remoteStorage/appinfo/info.xml
+++ b/apps/remoteStorage/appinfo/info.xml
@@ -3,7 +3,7 @@
<id>remoteStorage</id>
<name>remoteStorage compatibility</name>
<description>Enables your users to use ownCloud as their remote storage for unhosted applications.</description>
- <version>0.3</version>
+ <version>0.4</version>
<licence>AGPL or MIT</licence>
<author>Michiel de Jong</author>
<require>2</require>
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++){