From 2df8468b2f7c59dcd3550dabeb2b1d037dfd33bb Mon Sep 17 00:00:00 2001 From: Roland Hager Date: Wed, 12 Jun 2013 18:30:28 +0200 Subject: [PATCH] Revert "FIX: Download of files named "true" or "false" impossible" This reverts commit d2d71c8797f7e7b51e55bec4217738faaf6a08ca. which was accidentally commited --- apps/files/ajax/download.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index 222eba551d..7c8dcb372e 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); }