diff options
author | root <roger.szabo@web.de> | 2016-07-27 15:17:29 +0800 |
---|---|---|
committer | root <roger.szabo@web.de> | 2016-07-27 15:17:29 +0800 |
commit | 2719dcabed16954c7c01114e7a6357089556ad78 (patch) | |
tree | be77987507ad9a51afd10a2c1a14bd92c5b17ad0 /apps/files_trashbin/ajax/undelete.php | |
parent | 1c64ee67afb41f3d3872f1ad59d5c3c900394bbb (diff) | |
parent | 95a0714973b4b6b95658c2904a0de7ba93c8eab9 (diff) | |
download | nextcloud-server-2719dcabed16954c7c01114e7a6357089556ad78.tar.gz nextcloud-server-2719dcabed16954c7c01114e7a6357089556ad78.zip |
Merge branch 'master' of https://github.com/nextcloud/server
Diffstat (limited to 'apps/files_trashbin/ajax/undelete.php')
-rw-r--r-- | apps/files_trashbin/ajax/undelete.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php index 9095c551b4f..ba671325372 100644 --- a/apps/files_trashbin/ajax/undelete.php +++ b/apps/files_trashbin/ajax/undelete.php @@ -29,7 +29,6 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::callCheck(); \OC::$server->getSession()->close(); -$files = $_POST['files']; $dir = '/'; if (isset($_POST['dir'])) { $dir = rtrim((string)$_POST['dir'], '/'). '/'; @@ -50,7 +49,7 @@ if (isset($_POST['allfiles']) && (string)$_POST['allfiles'] === 'true') { $list[] = $fileName; } } else { - $list = json_decode($files); + $list = json_decode($_POST['files']); } $error = array(); |