summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-10 11:40:28 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-10 11:40:28 +0100
commit0ffd32a1ae8c4b9da2434a0b5623c1fe6e910467 (patch)
tree46c321e5832da6f24428eb19e83fb5aaabbbd7fa /apps
parent92df8deb0ad4e38bc4eb2b02a8581e738cfa8d9e (diff)
parent5671aac5ca3375c4a5398ea2b7bf430ff75279d7 (diff)
downloadnextcloud-server-0ffd32a1ae8c4b9da2434a0b5623c1fe6e910467.tar.gz
nextcloud-server-0ffd32a1ae8c4b9da2434a0b5623c1fe6e910467.zip
Merge pull request #7629 from owncloud/files-allfileswarningtypo
Fixed log warning when deleting a single file
Diffstat (limited to 'apps')
-rw-r--r--apps/files/ajax/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/delete.php b/apps/files/ajax/delete.php
index 69f859daa97..99f49188384 100644
--- a/apps/files/ajax/delete.php
+++ b/apps/files/ajax/delete.php
@@ -9,7 +9,7 @@ OCP\JSON::callCheck();
// Get data
$dir = stripslashes($_POST["dir"]);
$files = isset($_POST["file"]) ? $_POST["file"] : $_POST["files"];
-$allFiles = isset($_POST["allfiles"]) ? $_POST["allfiles"] : $_POST["allfiles"];
+$allFiles = isset($_POST["allfiles"]) ? $_POST["allfiles"] : false;
if ($allFiles === 'true') {
$allFiles = true;
}