Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-07 18:03:35 +0400
committerVincent Petry <pvince81@owncloud.com>2014-03-07 18:03:35 +0400
commit5671aac5ca3375c4a5398ea2b7bf430ff75279d7 (patch)
treeebe080fdd6fac35a1451573ca0034d2223069420 /apps
parent3eb58d9973706b1cc3f51f024e362779d278ee49 (diff)
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;
}