Fixed log warning when deleting a single file

This commit is contained in:
Vincent Petry 2014-03-07 15:03:35 +01:00
parent 3eb58d9973
commit 5671aac5ca
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}