diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-08 00:03:50 -0700 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-08 00:03:50 -0700 |
commit | f7915d745a26887b85990c5bec0bfa37f7fbb157 (patch) | |
tree | b96a4df17b830bbc960feaf14997d9afef4fc517 /apps | |
parent | b39d2d19382a7642099be94f6460cd473dcfaaf9 (diff) | |
parent | 67df0a60fba81af8e8783759cd09258ba78fc085 (diff) | |
download | nextcloud-server-f7915d745a26887b85990c5bec0bfa37f7fbb157.tar.gz nextcloud-server-f7915d745a26887b85990c5bec0bfa37f7fbb157.zip |
Merge pull request #4340 from owncloud/true-false-as-filename
Allow true and false as filenames.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/ajax/download.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/download.php b/apps/files/ajax/download.php index 7c8dcb372e2..b2bfd53506d 100644 --- a/apps/files/ajax/download.php +++ b/apps/files/ajax/download.php @@ -35,7 +35,7 @@ $dir = $_GET["dir"]; $files_list = json_decode($files); // in case we get only a single file -if ($files_list === NULL ) { +if (!is_array($files_list)) { $files_list = array($files); } |