Revert "FIX: Download of files named "true" or "false" impossible"
This reverts commit d2d71c8797
.
which was accidentally commited
This commit is contained in:
parent
06808eddf3
commit
2df8468b2f
|
@ -34,9 +34,8 @@ $files = $_GET["files"];
|
||||||
$dir = $_GET["dir"];
|
$dir = $_GET["dir"];
|
||||||
|
|
||||||
$files_list = json_decode($files);
|
$files_list = json_decode($files);
|
||||||
|
|
||||||
// in case we get only a single file
|
// 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);
|
$files_list = array($files);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue