Merge pull request #4340 from owncloud/true-false-as-filename
Allow true and false as filenames.
This commit is contained in:
commit
f7915d745a
|
@ -35,7 +35,7 @@ $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 ) {
|
if (!is_array($files_list)) {
|
||||||
$files_list = array($files);
|
$files_list = array($files);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue