diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-06-19 15:02:18 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-06-19 15:02:18 +0200 |
commit | 6778a45d45e7fe0274bc920b2a47800069da49b6 (patch) | |
tree | 6f756586affadce6d11789ad7d4d900c9bf95455 /apps/files/ajax/scan.php | |
parent | 85585ede023e4f8e59c0b01dc5e4552d8ff23ad6 (diff) | |
download | nextcloud-server-6778a45d45e7fe0274bc920b2a47800069da49b6.tar.gz nextcloud-server-6778a45d45e7fe0274bc920b2a47800069da49b6.zip |
use json to encode user list
Diffstat (limited to 'apps/files/ajax/scan.php')
-rw-r--r-- | apps/files/ajax/scan.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php index d58fd69b9f9..0706d4e7829 100644 --- a/apps/files/ajax/scan.php +++ b/apps/files/ajax/scan.php @@ -9,7 +9,7 @@ if (isset($_GET['users'])) { if ($_GET['users'] === 'all') { $users = OC_User::getUsers(); } else { - $users = explode(',', $_GET['users']); + $users = json_decode($_GET['users']); } } else { $users = array(OC_User::getUser()); |