diff options
author | Roland Hager <roland.hager@tu-berlin.de> | 2013-06-12 18:30:28 +0200 |
---|---|---|
committer | Roland Hager <roland.hager@tu-berlin.de> | 2013-06-12 18:30:28 +0200 |
commit | 2df8468b2f7c59dcd3550dabeb2b1d037dfd33bb (patch) | |
tree | 6bc3e11d9a579075d35311accb04c43aa5f9f47a /apps | |
parent | 06808eddf3c29f7324eba6b48601cfd2437d1c6d (diff) | |
download | nextcloud-server-2df8468b2f7c59dcd3550dabeb2b1d037dfd33bb.tar.gz nextcloud-server-2df8468b2f7c59dcd3550dabeb2b1d037dfd33bb.zip |
Revert "FIX: Download of files named "true" or "false" impossible"
This reverts commit d2d71c8797f7e7b51e55bec4217738faaf6a08ca.
which was accidentally commited
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/ajax/download.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index 222eba551d4..7c8dcb372e2 100644 --- a/apps/files/ajax/download.php +++ b/apps/files/ajax/download.php @@ -34,9 +34,8 @@ $files = $_GET["files"]; $dir = $_GET["dir"]; $files_list = json_decode($files); - // in case we get only a single file -if ($files_list === NULL || $files_list === true || $files_list === false) { +if ($files_list === NULL ) { $files_list = array($files); } |