summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-06-19 15:02:18 +0200
committerRobin Appelman <icewind@owncloud.com>2013-06-19 15:02:18 +0200
commit6778a45d45e7fe0274bc920b2a47800069da49b6 (patch)
tree6f756586affadce6d11789ad7d4d900c9bf95455 /apps/files/js
parent85585ede023e4f8e59c0b01dc5e4552d8ff23ad6 (diff)
downloadnextcloud-server-6778a45d45e7fe0274bc920b2a47800069da49b6.tar.gz
nextcloud-server-6778a45d45e7fe0274bc920b2a47800069da49b6.zip
use json to encode user list
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index ee0d7187cab..3438c1c30a1 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -711,7 +711,7 @@ function scanFiles(force, dir, users){
if (users === 'all') {
usersString = users;
} else {
- usersString = users.join(',');
+ usersString = JSON.stringify(users);
}
scannerEventSource = new OC.EventSource(OC.filePath('files','ajax','scan.php'),{force: force,dir: dir, users: usersString});
} else {