summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-07 15:03:35 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-07 15:03:35 +0100
commit5671aac5ca3375c4a5398ea2b7bf430ff75279d7 (patch)
treeebe080fdd6fac35a1451573ca0034d2223069420 /apps/files/ajax
parent3eb58d9973706b1cc3f51f024e362779d278ee49 (diff)
downloadnextcloud-server-5671aac5ca3375c4a5398ea2b7bf430ff75279d7.tar.gz
nextcloud-server-5671aac5ca3375c4a5398ea2b7bf430ff75279d7.zip
Fixed log warning when deleting a single file
Diffstat (limited to 'apps/files/ajax')
-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;
}