summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-08 00:03:50 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-08 00:03:50 -0700
commitf7915d745a26887b85990c5bec0bfa37f7fbb157 (patch)
treeb96a4df17b830bbc960feaf14997d9afef4fc517 /apps
parentb39d2d19382a7642099be94f6460cd473dcfaaf9 (diff)
parent67df0a60fba81af8e8783759cd09258ba78fc085 (diff)
downloadnextcloud-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.php2
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);
}