]> source.dussan.org Git - nextcloud-server.git/commitdiff
Revert "FIX: Download of files named "true" or "false" impossible"
authorRoland Hager <roland.hager@tu-berlin.de>
Wed, 12 Jun 2013 16:30:28 +0000 (18:30 +0200)
committerRoland Hager <roland.hager@tu-berlin.de>
Wed, 12 Jun 2013 16:30:28 +0000 (18:30 +0200)
This reverts commit d2d71c8797f7e7b51e55bec4217738faaf6a08ca.
which was accidentally commited

apps/files/ajax/download.php

index 222eba551d472f17d4b1e4675611e09cb8563833..7c8dcb372e24c5d4517b1ac5459e1c03feb9744a 100644 (file)
@@ -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);
 }