Revert "FIX: Download of files named "true" or "false" impossible"

This reverts commit d2d71c8797.
which was accidentally commited
remotes/origin/stable6
Roland Hager 12 years ago
parent 06808eddf3
commit 2df8468b2f
  1. 3
      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);
}

Loading…
Cancel
Save