diff options
Diffstat (limited to 'apps/files/ajax/download.php')
-rw-r--r-- | apps/files/ajax/download.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index b2e144c4b8f..368257b95cd 100644 --- a/apps/files/ajax/download.php +++ b/apps/files/ajax/download.php @@ -25,8 +25,8 @@ OCP\User::checkLoggedIn(); \OC::$server->getSession()->close(); -$files = $_GET["files"]; -$dir = $_GET["dir"]; +$files = isset($_GET['files']) ? $_GET['files'] : ''; +$dir = isset($_GET['dir']) ? $_GET['dir'] : ''; $files_list = json_decode($files); // in case we get only a single file |